package com.kucai.yifaqapp.ui.fragment.gameFragment;

import android.content.Context;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.os.CountDownTimer;
import android.os.Handler;
import android.os.Message;
import android.os.SystemClock;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.app.FragmentActivity;
import android.support.v7.app.AlertDialog;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.text.Editable;
import android.text.InputType;
import android.text.TextUtils;
import android.text.TextWatcher;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.inputmethod.InputMethodManager;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import android.widget.Toast;

import com.bumptech.glide.Glide;
import com.kucai.yifaqapp.R;
import com.kucai.yifaqapp.dagger.component.fragment.DaggerKSFragmentComponent;
import com.kucai.yifaqapp.dagger.module.fragment.KSFragmentModule;
import com.kucai.yifaqapp.global.Info;
import com.kucai.yifaqapp.model.network.entity.res.ResGameDetails;
import com.kucai.yifaqapp.model.network.entity.res.ResMoney;
import com.kucai.yifaqapp.model.network.entity.res.Resanhuikuaisan;
import com.kucai.yifaqapp.model.network.entity.res.Resgansuk3;
import com.kucai.yifaqapp.model.network.entity.res.Resguangxik3;
import com.kucai.yifaqapp.model.network.entity.res.Resguizhouk3;
import com.kucai.yifaqapp.model.network.entity.res.Reshebeik3;
import com.kucai.yifaqapp.model.network.entity.res.Reshubeik3;
import com.kucai.yifaqapp.model.network.entity.res.Resjiangsuk3;
import com.kucai.yifaqapp.model.network.entity.res.Resmiaosukuaisan;
import com.kucai.yifaqapp.model.network.entity.res.Viewbean;
import com.kucai.yifaqapp.presenter.fragment.KSFragmentPresenter;
import com.kucai.yifaqapp.ui.activity.BaseActivity;
import com.kucai.yifaqapp.ui.activity.GameDetailActivityFinal;
import com.kucai.yifaqapp.ui.fragment.BaseFragment;
import com.kucai.yifaqapp.util.DateUtils;
import com.kucai.yifaqapp.util.OnItemClickListener;
import com.kucai.yifaqapp.util.SYSOUtils;
import com.kucai.yifaqapp.util.SpUtils;
import com.kucai.yifaqapp.util.TimeTools;
import com.kucai.yifaqapp.widget.KeyBoardWeight;

import org.json.JSONException;
import org.json.JSONObject;

import java.util.ArrayList;
import java.util.Date;
import java.util.Timer;
import java.util.TimerTask;

import butterknife.BindView;
import butterknife.OnClick;

/**
 * Created by Administrator on 2018/12/10.
 */

public class KSFragment extends BaseFragment<KSFragmentPresenter> {
    @BindView(R.id.preiod_up_tv)
    TextView preiodUpTv;
    @BindView(R.id.includ1_one)
    ImageView includ1One;
    @BindView(R.id.includ1_two)
    ImageView includ1Two;
    @BindView(R.id.includ1_three)
    ImageView includ1Three;
    @BindView(R.id.putongiv)
    LinearLayout putongiv;
    @BindView(R.id.ivtext_1)
    TextView ivtext1;
    @BindView(R.id.ivtext_2)
    TextView ivtext2;
    @BindView(R.id.ivtext_3)
    TextView ivtext3;
    @BindView(R.id.putongtv)
    LinearLayout putongtv;
    @BindView(R.id.period_down_tv)
    TextView periodDownTv;
    @BindView(R.id.close_time_tv)
    TextView closeTimeTv;
    @BindView(R.id.open_time_tv)
    TextView openTimeTv;
    @BindView(R.id.hezhibt)
    TextView hezhibt;
    @BindView(R.id.sanlianhaobt)
    TextView sanlianhaobt;
    @BindView(R.id.santonghaobt)
    TextView santonghaobt;
    @BindView(R.id.ertonghaobt)
    TextView ertonghaobt;
    @BindView(R.id.kuadubt)
    TextView kuadubt;
    @BindView(R.id.paidianbt)
    TextView paidianbt;
    @BindView(R.id.buchuhaomabt)
    TextView buchuhaomabt;
    @BindView(R.id.bichuhaomabt)
    TextView bichuhaomabt;
    @BindView(R.id.hezhida)
    TextView hezhida;
    @BindView(R.id.hezhidas)
    TextView hezhidas;
    @BindView(R.id.hezhidalin)
    LinearLayout hezhidalin;
    @BindView(R.id.hezhixiao)
    TextView hezhixiao;
    @BindView(R.id.hezhixiaos)
    TextView hezhixiaos;
    @BindView(R.id.hezhixiaolin)
    LinearLayout hezhixiaolin;
    @BindView(R.id.hezhidan)
    TextView hezhidan;
    @BindView(R.id.hezhidans)
    TextView hezhidans;
    @BindView(R.id.hezhidanlin)
    LinearLayout hezhidanlin;
    @BindView(R.id.hezhishuang)
    TextView hezhishuang;
    @BindView(R.id.hezhishuangs)
    TextView hezhishuangs;
    @BindView(R.id.hezhishuanglin)
    LinearLayout hezhishuanglin;
    @BindView(R.id.hezhi3)
    TextView hezhi3;
    @BindView(R.id.hezhi3s)
    TextView hezhi3s;
    @BindView(R.id.hezhi3lin)
    LinearLayout hezhi3lin;
    @BindView(R.id.hezhi4)
    TextView hezhi4;
    @BindView(R.id.hezhi4s)
    TextView hezhi4s;
    @BindView(R.id.hezhi4lin)
    LinearLayout hezhi4lin;
    @BindView(R.id.hezhi5)
    TextView hezhi5;
    @BindView(R.id.hezhi5s)
    TextView hezhi5s;
    @BindView(R.id.hezhi5lin)
    LinearLayout hezhi5lin;
    @BindView(R.id.hezhi6)
    TextView hezhi6;
    @BindView(R.id.hezhi6s)
    TextView hezhi6s;
    @BindView(R.id.hezhi6lin)
    LinearLayout hezhi6lin;
    @BindView(R.id.hezhi7)
    TextView hezhi7;
    @BindView(R.id.hezhi7s)
    TextView hezhi7s;
    @BindView(R.id.hezhi7lin)
    LinearLayout hezhi7lin;
    @BindView(R.id.hezhi8)
    TextView hezhi8;
    @BindView(R.id.hezhi8s)
    TextView hezhi8s;
    @BindView(R.id.hezhi8lin)
    LinearLayout hezhi8lin;
    @BindView(R.id.hezhi9)
    TextView hezhi9;
    @BindView(R.id.hezhi9s)
    TextView hezhi9s;
    @BindView(R.id.hezhi9lin)
    LinearLayout hezhi9lin;
    @BindView(R.id.hezhi10)
    TextView hezhi10;
    @BindView(R.id.hezhi10s)
    TextView hezhi10s;
    @BindView(R.id.hezhi10lin)
    LinearLayout hezhi10lin;
    @BindView(R.id.hezhi11)
    TextView hezhi11;
    @BindView(R.id.hezhi11s)
    TextView hezhi11s;
    @BindView(R.id.hezhi11lin)
    LinearLayout hezhi11lin;
    @BindView(R.id.hezhi12)
    TextView hezhi12;
    @BindView(R.id.hezhi12s)
    TextView hezhi12s;
    @BindView(R.id.hezhi12lin)
    LinearLayout hezhi12lin;
    @BindView(R.id.hezhi13)
    TextView hezhi13;
    @BindView(R.id.hezhi13s)
    TextView hezhi13s;
    @BindView(R.id.hezhi13lin)
    LinearLayout hezhi13lin;
    @BindView(R.id.hezhi14)
    TextView hezhi14;
    @BindView(R.id.hezhi14s)
    TextView hezhi14s;
    @BindView(R.id.hezhi14lin)
    LinearLayout hezhi14lin;
    @BindView(R.id.hezhi15)
    TextView hezhi15;
    @BindView(R.id.hezhi15s)
    TextView hezhi15s;
    @BindView(R.id.hezhi15lin)
    LinearLayout hezhi15lin;
    @BindView(R.id.hezhi16)
    TextView hezhi16;
    @BindView(R.id.hezhi16s)
    TextView hezhi16s;
    @BindView(R.id.hezhi16lin)
    LinearLayout hezhi16lin;
    @BindView(R.id.hezhi17)
    TextView hezhi17;
    @BindView(R.id.hezhi17s)
    TextView hezhi17s;
    @BindView(R.id.hezhi17lin)
    LinearLayout hezhi17lin;
    @BindView(R.id.hezhi18)
    TextView hezhi18;
    @BindView(R.id.hezhi18s)
    TextView hezhi18s;
    @BindView(R.id.hezhi18lin)
    LinearLayout hezhi18lin;
    @BindView(R.id.hezhiitem)
    LinearLayout hezhiitem;
    @BindView(R.id.paidianda)
    TextView paidianda;
    @BindView(R.id.paidiandas)
    TextView paidiandas;
    @BindView(R.id.paidiandalin)
    LinearLayout paidiandalin;
    @BindView(R.id.paidianxiao)
    TextView paidianxiao;
    @BindView(R.id.paidianxiaos)
    TextView paidianxiaos;
    @BindView(R.id.paidianxiaolin)
    LinearLayout paidianxiaolin;
    @BindView(R.id.paidiandan)
    TextView paidiandan;
    @BindView(R.id.paidiandans)
    TextView paidiandans;
    @BindView(R.id.paidiandanlin)
    LinearLayout paidiandanlin;
    @BindView(R.id.paidianshuang)
    TextView paidianshuang;
    @BindView(R.id.paidianshuangs)
    TextView paidianshuangs;
    @BindView(R.id.paidianshuanglin)
    LinearLayout paidianshuanglin;
    @BindView(R.id.paidian0)
    TextView paidian0;
    @BindView(R.id.paidian0s)
    TextView paidian0s;
    @BindView(R.id.paidian0lin)
    LinearLayout paidian0lin;
    @BindView(R.id.paidian1)
    TextView paidian1;
    @BindView(R.id.paidian1s)
    TextView paidian1s;
    @BindView(R.id.paidian1lin)
    LinearLayout paidian1lin;
    @BindView(R.id.paidian2)
    TextView paidian2;
    @BindView(R.id.paidian2s)
    TextView paidian2s;
    @BindView(R.id.paidian2lin)
    LinearLayout paidian2lin;
    @BindView(R.id.paidian3)
    TextView paidian3;
    @BindView(R.id.paidian3s)
    TextView paidian3s;
    @BindView(R.id.paidian3lin)
    LinearLayout paidian3lin;
    @BindView(R.id.paidian4)
    TextView paidian4;
    @BindView(R.id.paidian4s)
    TextView paidian4s;
    @BindView(R.id.paidian4lin)
    LinearLayout paidian4lin;
    @BindView(R.id.paidian5)
    TextView paidian5;
    @BindView(R.id.paidian5s)
    TextView paidian5s;
    @BindView(R.id.paidian5lin)
    LinearLayout paidian5lin;
    @BindView(R.id.paidianitem)
    LinearLayout paidianitem;
    @BindView(R.id.kuaduda)
    TextView kuaduda;
    @BindView(R.id.kuadudas)
    TextView kuadudas;
    @BindView(R.id.kuadudalin)
    LinearLayout kuadudalin;
    @BindView(R.id.kuaduxiao)
    TextView kuaduxiao;
    @BindView(R.id.kuaduxiaos)
    TextView kuaduxiaos;
    @BindView(R.id.kuaduxiaolin)
    LinearLayout kuaduxiaolin;
    @BindView(R.id.kuadudan)
    TextView kuadudan;
    @BindView(R.id.kuadudans)
    TextView kuadudans;
    @BindView(R.id.kuadudanlin)
    LinearLayout kuadudanlin;
    @BindView(R.id.kuadushuang)
    TextView kuadushuang;
    @BindView(R.id.kuadushuangs)
    TextView kuadushuangs;
    @BindView(R.id.kuadushuanglin)
    LinearLayout kuadushuanglin;
    @BindView(R.id.kuadu1)
    TextView kuadu1;
    @BindView(R.id.kuadu1s)
    TextView kuadu1s;
    @BindView(R.id.kuadu1lin)
    LinearLayout kuadu1lin;
    @BindView(R.id.kuadu2)
    TextView kuadu2;
    @BindView(R.id.kuadu2s)
    TextView kuadu2s;
    @BindView(R.id.kuadu2lin)
    LinearLayout kuadu2lin;
    @BindView(R.id.kuadu3)
    TextView kuadu3;
    @BindView(R.id.kuadu3s)
    TextView kuadu3s;
    @BindView(R.id.kuadu3lin)
    LinearLayout kuadu3lin;
    @BindView(R.id.kuadu4)
    TextView kuadu4;
    @BindView(R.id.kuadu4s)
    TextView kuadu4s;
    @BindView(R.id.kuadu4lin)
    LinearLayout kuadu4lin;
    @BindView(R.id.kuadu5)
    TextView kuadu5;
    @BindView(R.id.kuadu5s)
    TextView kuadu5s;
    @BindView(R.id.kuadu5lin)
    LinearLayout kuadu5lin;
    @BindView(R.id.kuadu6)
    TextView kuadu6;
    @BindView(R.id.kuadu6s)
    TextView kuadu6s;
    @BindView(R.id.kuadu6lin)
    LinearLayout kuadu6lin;
    @BindView(R.id.kuadu7)
    TextView kuadu7;
    @BindView(R.id.kuadu7s)
    TextView kuadu7s;
    @BindView(R.id.kuadu7lin)
    LinearLayout kuadu7lin;
    @BindView(R.id.kuadu8)
    TextView kuadu8;
    @BindView(R.id.kuadu8s)
    TextView kuadu8s;
    @BindView(R.id.kuadu8lin)
    LinearLayout kuadu8lin;
    @BindView(R.id.kuadu9)
    TextView kuadu9;
    @BindView(R.id.kuadu9s)
    TextView kuadu9s;
    @BindView(R.id.kuadu9lin)
    LinearLayout kuadu9lin;
    @BindView(R.id.kuadu10)
    TextView kuadu10;
    @BindView(R.id.kuadu10s)
    TextView kuadu10s;
    @BindView(R.id.kuadu10lin)
    LinearLayout kuadu10lin;
    @BindView(R.id.kuaduitem)
    LinearLayout kuaduitem;
    @BindView(R.id.santongtitle)
    TextView santongtitle;
    @BindView(R.id.santong1)
    TextView santong1;
    @BindView(R.id.santong1lin)
    LinearLayout santong1lin;
    @BindView(R.id.santong2)
    TextView santong2;
    @BindView(R.id.santong2lin)
    LinearLayout santong2lin;
    @BindView(R.id.santong3)
    TextView santong3;
    @BindView(R.id.santong3lin)
    LinearLayout santong3lin;
    @BindView(R.id.santong4)
    TextView santong4;
    @BindView(R.id.santong4lin)
    LinearLayout santong4lin;
    @BindView(R.id.santong5)
    TextView santong5;
    @BindView(R.id.santong5lin)
    LinearLayout santong5lin;
    @BindView(R.id.santong6)
    TextView santong6;
    @BindView(R.id.santong6lin)
    LinearLayout santong6lin;
    @BindView(R.id.santongdibu)
    TextView santongdibu;
    @BindView(R.id.santongdibus)
    TextView santongdibus;
    @BindView(R.id.santongdibulin)
    LinearLayout santongdibulin;
    @BindView(R.id.santongitem)
    LinearLayout santongitem;
    @BindView(R.id.ertongtitle)
    TextView ertongtitle;
    @BindView(R.id.ertong1)
    TextView ertong1;
    @BindView(R.id.ertong1lin)
    LinearLayout ertong1lin;
    @BindView(R.id.ertong2)
    TextView ertong2;
    @BindView(R.id.ertong2lin)
    LinearLayout ertong2lin;
    @BindView(R.id.ertong3)
    TextView ertong3;
    @BindView(R.id.ertong3lin)
    LinearLayout ertong3lin;
    @BindView(R.id.ertong4)
    TextView ertong4;
    @BindView(R.id.ertong4lin)
    LinearLayout ertong4lin;
    @BindView(R.id.ertong5)
    TextView ertong5;
    @BindView(R.id.ertong5lin)
    LinearLayout ertong5lin;
    @BindView(R.id.ertong6)
    TextView ertong6;
    @BindView(R.id.ertong6lin)
    LinearLayout ertong6lin;
    @BindView(R.id.ertongdibu)
    TextView ertongdibu;
    @BindView(R.id.ertongitem)
    LinearLayout ertongitem;
    @BindView(R.id.sanliantitle)
    TextView sanliantitle;
    @BindView(R.id.sanlian1)
    TextView sanlian1;
    @BindView(R.id.sanlian1lin)
    LinearLayout sanlian1lin;
    @BindView(R.id.sanlian2)
    TextView sanlian2;
    @BindView(R.id.sanlian2lin)
    LinearLayout sanlian2lin;
    @BindView(R.id.sanlian3)
    TextView sanlian3;
    @BindView(R.id.sanlian3lin)
    LinearLayout sanlian3lin;
    @BindView(R.id.sanlian4)
    TextView sanlian4;
    @BindView(R.id.sanlian4lin)
    LinearLayout sanlian4lin;
    @BindView(R.id.sanliandibu)
    TextView sanliandibu;
    @BindView(R.id.sanliandibus)
    TextView sanliandibus;
    @BindView(R.id.sanliandibulin)
    LinearLayout sanliandibulin;
    @BindView(R.id.sanlianitem)
    LinearLayout sanlianitem;
    @BindView(R.id.buchuhaomatitle)
    TextView buchuhaomatitle;
    @BindView(R.id.buchuhaoma1)
    TextView buchuhaoma1;
    @BindView(R.id.buchuhaoma1lin)
    LinearLayout buchuhaoma1lin;
    @BindView(R.id.buchuhaoma2)
    TextView buchuhaoma2;
    @BindView(R.id.buchuhaoma2lin)
    LinearLayout buchuhaoma2lin;
    @BindView(R.id.buchuhaoma3)
    TextView buchuhaoma3;
    @BindView(R.id.buchuhaoma3lin)
    LinearLayout buchuhaoma3lin;
    @BindView(R.id.buchuhaoma4)
    TextView buchuhaoma4;
    @BindView(R.id.buchuhaoma4lin)
    LinearLayout buchuhaoma4lin;
    @BindView(R.id.buchuhaoma5)
    TextView buchuhaoma5;
    @BindView(R.id.buchuhaoma5lin)
    LinearLayout buchuhaoma5lin;
    @BindView(R.id.buchuhaoma6)
    TextView buchuhaoma6;
    @BindView(R.id.buchuhaoma6lin)
    LinearLayout buchuhaoma6lin;
    @BindView(R.id.buchuhaomaitem)
    LinearLayout buchuhaomaitem;
    @BindView(R.id.bichuhaomatitle)
    TextView bichuhaomatitle;
    @BindView(R.id.bichuhaoma1)
    TextView bichuhaoma1;
    @BindView(R.id.bichuhaoma1lin)
    LinearLayout bichuhaoma1lin;
    @BindView(R.id.bichuhaoma2)
    TextView bichuhaoma2;
    @BindView(R.id.bichuhaoma2lin)
    LinearLayout bichuhaoma2lin;
    @BindView(R.id.bichuhaoma3)
    TextView bichuhaoma3;
    @BindView(R.id.bichuhaoma3lin)
    LinearLayout bichuhaoma3lin;
    @BindView(R.id.bichuhaoma4)
    TextView bichuhaoma4;
    @BindView(R.id.bichuhaoma4lin)
    LinearLayout bichuhaoma4lin;
    @BindView(R.id.bichuhaoma5)
    TextView bichuhaoma5;
    @BindView(R.id.bichuhaoma5lin)
    LinearLayout bichuhaoma5lin;
    @BindView(R.id.bichuhaoma6)
    TextView bichuhaoma6;
    @BindView(R.id.bichuhaoma6lin)
    LinearLayout bichuhaoma6lin;
    @BindView(R.id.bichuhaomaitem)
    LinearLayout bichuhaomaitem;
    @BindView(R.id.include_kuaisanitem)
    LinearLayout includeKuaisanitem;
    @BindView(R.id.yixuanzhong)
    TextView yixuanzhong;
    @BindView(R.id.touzhued)
    EditText touzhued;
    @BindView(R.id.xiazhubt)
    Button xiazhubt;
    @BindView(R.id.chongzhibt)
    Button chongzhibt;
    @BindView(R.id.xiazhulin)
    LinearLayout xiazhulin;
    @BindView(R.id.fengpanlin)
    TextView fengpanlin;
    @BindView(R.id.keybord)
    KeyBoardWeight keybord;
    @BindView(R.id.sanlian123)
    TextView sanlian123;
    @BindView(R.id.sanlian234)
    TextView sanlian234;
    @BindView(R.id.sanlian345)
    TextView sanlian345;
    @BindView(R.id.sanlian456)
    TextView sanlian456;
    @BindView(R.id.santong111)
    TextView santong111;
    @BindView(R.id.santong222)
    TextView santong222;
    @BindView(R.id.santong333)
    TextView santong333;
    @BindView(R.id.santong444)
    TextView santong444;
    @BindView(R.id.santong555)
    TextView santong555;
    @BindView(R.id.santong666)
    TextView santong666;
    @BindView(R.id.ertong11)
    TextView ertong11;
    @BindView(R.id.ertong22)
    TextView ertong22;
    @BindView(R.id.ertong33)
    TextView ertong33;
    @BindView(R.id.ertong44)
    TextView ertong44;
    @BindView(R.id.ertong55)
    TextView ertong55;
    @BindView(R.id.ertong66)
    TextView ertong66;
    @BindView(R.id.haoma1)
    TextView haoma1;
    @BindView(R.id.haoma2)
    TextView haoma2;
    @BindView(R.id.haoma3)
    TextView haoma3;
    @BindView(R.id.haoma4)
    TextView haoma4;
    @BindView(R.id.haoma5)
    TextView haoma5;
    @BindView(R.id.haoma6)
    TextView haoma6;
    private String gameid;//游戏id
    private String money;//金额
    //    private String webvideo;//金额
    private String dataid;//期数
    private TextView tvmoney;
    private AlertDialog dialog;
    private String betBean_title1[];
    private String betBean_text1[];
    private String betBean_odds1[];
    private String betBean_money1[];
    ArrayList<String> thecrownIndex = new ArrayList<>();//选中的集合
    ArrayList<Viewbean> linearLayoutsList = new ArrayList<>();//选中的线性布局
    private Adapter adapter;
    //筛子
    int[] blankiv = {R.mipmap.sieve_r1, R.mipmap.sieve_b2, R.mipmap.sieve_b3, R.mipmap.sieve_r4, R.mipmap.sieve_b5, R.mipmap.sieve_b6};


    @Override
    protected void initDagger() {
        DaggerKSFragmentComponent.builder()
                .kSFragmentModule(new KSFragmentModule(this))
                .build().inject(this);
    }

    @Override
    protected void ChangeSkin() {

    }

    @Override
    protected int setContentView() {
        return R.layout.ksfragment;
    }

    @Override
    public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) {
        super.onViewCreated(view, savedInstanceState);


        if (closeTimeTv.getText().toString().trim().equals("已封盘")) {
            fengpanlin.setVisibility(View.VISIBLE);
            xiazhubt.setEnabled(false);
            chongzhibt.setEnabled(false);
            touzhued.setEnabled(false);
        }

        //输入框处理
//        getActivity().getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN);


        touzhued.setInputType(InputType.TYPE_NULL);
        keybord.init(touzhued, new KeyBoardWeight.Goback() {
            @Override
            public void goback() {
                keybord.setVisibility(View.GONE);
            }
        });
        touzhued.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                keybord.setVisibility(View.VISIBLE);
            }
        });
        touzhued.addTextChangedListener(new TextWatcher() {
            @Override
            public void beforeTextChanged(CharSequence s, int start, int count, int after) {

            }

            @Override
            public void onTextChanged(CharSequence s, int start, int before, int count) {
                if (touzhued.getText().toString().matches("^0")) {//判断当前的输入第一个数是不是为0
                    touzhued.setText("");
                }
            }

            @Override
            public void afterTextChanged(Editable s) {
//                SYSOUtils.sOut_("wwwwwwwwwwwwwwwwwwwwww" + s);
            }
        });
        chongzhibt.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Toast.makeText(getContext(), "重置", Toast.LENGTH_SHORT).show();
                for (Viewbean q : linearLayoutsList) {
                    q.linearLayout.setBackgroundResource(R.drawable.betting_backgroud);
                    if (null != q.textView) {
                        q.textView.setTextColor(getContext().getResources().getColor(R.color.blank));
                    }
                    q.textViews.setTextColor(getContext().getResources().getColor(R.color.text_color));
                    thecrownIndex.remove(q + "");
                }
                thecrownIndex.clear();
                yixuanzhong.setText(thecrownIndex.size() + "");
            }
        });
        xiazhubt.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                closeKeyBoard();
                String edmoney = touzhued.getText().toString().trim();
                if (TextUtils.isEmpty(edmoney)) {
                    Toast.makeText(getContext(), "请输入投注金额", Toast.LENGTH_SHORT).show();
                } else {
                    long Total_price = Long.parseLong(edmoney) * thecrownIndex.size();
                    String[] betBean_Play = new String[thecrownIndex.size()];
                    String[] betBean_odds = new String[thecrownIndex.size()];
                    String[] betBean_money = new String[thecrownIndex.size()];
                    String[] betBean_title = new String[thecrownIndex.size()];
                    String[] betBean_text = new String[thecrownIndex.size()];
                    if (thecrownIndex.size() != 0 && null != thecrownIndex) {
                        for (int i = 0; i < thecrownIndex.size(); i++) {
//                            SYSOUtils.sOut_("当前集合为" + linearLayoutsList.get(Integer.parseInt(thecrownIndex.get(i))));
                            betBean_Play[i] = linearLayoutsList.get(Integer.parseInt(thecrownIndex.get(i))).id;
                            betBean_money[i] = edmoney;
                            betBean_odds[i] = linearLayoutsList.get(Integer.parseInt(thecrownIndex.get(i))).textViews.getText().toString();
                            betBean_title[i] = linearLayoutsList.get(Integer.parseInt(thecrownIndex.get(i))).str;
                            if (null != linearLayoutsList.get(Integer.parseInt(thecrownIndex.get(i))).textView) {
                                betBean_text[i] = linearLayoutsList.get(Integer.parseInt(thecrownIndex.get(i))).textView.getText().toString();
                            }


                        }
                        betBean_title1 = betBean_title;
                        betBean_text1 = betBean_text;
                        betBean_odds1 = betBean_odds;
                        betBean_money1 = betBean_money;
                    } else {
                        Toast.makeText(getContext(), "您还没有下注", Toast.LENGTH_SHORT).show();
                    }


                    try {
                        if (!TextUtils.isEmpty(gameid) && !TextUtils.isEmpty(dataid) && thecrownIndex.size() != 0 && Total_price != 0) {

                            final JSONObject result = new JSONObject();
                            result.put("gameId", gameid);
                            result.put("turnNum", dataid);
                            result.put("totalNums", thecrownIndex.size() + "");
                            result.put("totalMoney", Total_price + "");
                            for (int i = 0; i < betBean_Play.length; i++) {
                                result.put("betBean_playId[" + i + "]", betBean_Play[i]);
                                result.put("betBean_odds[" + i + "]", betBean_odds[i]);
                                result.put("betBean_money[" + i + "]", betBean_money[i]);
                            }
                            SYSOUtils.sOut_("数据" + result);
//                            SYSOUtils.sOut_("游戏id" + gameid + "期数" + dataid + "总株数" + thecrownIndex.size() + "下注总金额" + Total_price);
//                            SYSOUtils.sOut_("每一注id" + betBean_Play[0] + "每一住赔率" + betBean_odds[0] + "没注金额" + betBean_money[0]);
//                            SYSOUtils.sOut_("最终json1" + result.toString());

                            AlertDialog.Builder builder = new AlertDialog.Builder(getContext());
                            View view = View.inflate(getContext(), R.layout.gamepop_layout, null);
                            RecyclerView game_pop_list = (RecyclerView) view.findViewById(R.id.game_pop_list);
                            TextView game_pop_canclbt = (TextView) view.findViewById(R.id.game_pop_canclbt);
                            TextView game_pop_yesbt = (TextView) view.findViewById(R.id.game_pop_yesbt);
                            game_pop_list.setLayoutManager(new LinearLayoutManager(getContext()));
                            //创建适配器
                            adapter = new Adapter();
                            game_pop_list.setAdapter(adapter);
                            builder.setView(view);
                            dialog = builder.create();
                            dialog.setCancelable(true);//点击外边缘隐藏
                            dialog.show();
                            game_pop_canclbt.setOnClickListener(new View.OnClickListener() {
                                @Override
                                public void onClick(View v) {
                                    dialog.dismiss();
                                }
                            });
                            game_pop_yesbt.setOnClickListener(new View.OnClickListener() {
                                @Override
                                public void onClick(View v) {
                                    dialog.dismiss();
                                    mPresenter.Betbet(result.toString(), Info.user.token);
                                }
                            });

                        } else {
                            Toast.makeText(getContext(), "请选择正确投注内容", Toast.LENGTH_SHORT).show();
                        }
                    } catch (JSONException e) {
                        e.printStackTrace();
                    }
                }

            }
        });
        //获取游戏id
        final FragmentActivity activity = getActivity();
        if (activity != null)

        {
            final GameDetailActivityFinal gameDetailsActivity = (GameDetailActivityFinal) activity;
            gameid = gameDetailsActivity.gameid;
            money = gameDetailsActivity.money;
            tvmoney = gameDetailsActivity.moneyTv;
//            webvideo = gameDetailsActivity.webvideo;
        }
        //头部
        mPresenter.getgamesdetail(gameid);
        switch (Integer.parseInt(gameid)) {
            case 10:
                //江苏快三
                mPresenter.getjiangsukuaisanddes(gameid, Info.user.token);
                break;
            case 12:
                //广西快三
                mPresenter.getguangxikuaisanddes(gameid, Info.user.token);
                break;
            case 13:
                //湖北快三
                mPresenter.gethubeikuaisanddes(gameid, Info.user.token);
                break;
            case 16:
                //甘肃快三
                mPresenter.getgansukuaisanddes(gameid, Info.user.token);
                break;
            case 15:
                //河北快三
                mPresenter.gethebeikuaisanddes(gameid, Info.user.token);
                break;
            case 18:
                //贵州快三
                mPresenter.getguizhoukuaisanddes(gameid, Info.user.token);
                break;
            case 86:
                //秒速快三
                mPresenter.getmiaosukuaisanddes(gameid, Info.user.token);
                break;
            case 11:
                //安徽快三
                mPresenter.getanhuikuaisanoddes(gameid, Info.user.token);
                break;
        }


    }

    //快三
    public void miaosukuaisan(ResGameDetails resGameDetails) {
        GameDetailActivityFinal.webvideo = resGameDetails.data.videoUrl;
//        webvideo = resGameDetails.data.videoUrl;
        dataid = String.valueOf(resGameDetails.data.issue);
        //赛车
        preiodUpTv.setText(resGameDetails.data.preIssue + "期");
        periodDownTv.setText(resGameDetails.data.issue + "期");
        startleftTime(resGameDetails.data.endTime, resGameDetails.data.serverTime);
        startrightTime(resGameDetails.data.lotteryTime, resGameDetails.data.serverTime, 1);

        String[] strarray = resGameDetails.data.preNum.split(",");
        Glide.with(this).load(blankiv[Integer.parseInt(strarray[0]) - 1]).into(includ1One);
        Glide.with(this).load(blankiv[Integer.parseInt(strarray[1]) - 1]).into(includ1Two);
        Glide.with(this).load(blankiv[Integer.parseInt(strarray[2]) - 1]).into(includ1Three);
        if (strarray.length != 0) {
            int b = Integer.parseInt(strarray[0]) + Integer.parseInt(strarray[1]) + Integer.parseInt(strarray[2]);
            ivtext1.setText(String.valueOf(b));
            if (Integer.parseInt(strarray[0]) == Integer.parseInt(strarray[1]) && Integer.parseInt(strarray[0]) == Integer.parseInt(strarray[2])) {
                ivtext2.setText("豹子");
            } else {
                ivtext2.setText(b >= 11 ? " 大 " : " 小 ");
            }
            ivtext3.setText(b % 2 == 0 ? "双" : "单");
        }

        Drawable img = hezhibt.getResources().getDrawable(R.mipmap.whitedots);
// 调用setCompoundDrawables时，必须调用Drawable.setBounds()方法,否则图片不显示
        img.setBounds(0, 0, img.getMinimumWidth(), img.getMinimumHeight());
        hezhibt.setCompoundDrawables(img, null, null, null);
        if (!TextUtils.isEmpty(resGameDetails.data.issue.toString()) && !TextUtils.isEmpty(resGameDetails.data.preIssue.toString())) {
            long b = Long.parseLong(resGameDetails.data.issue.toString()) - Long.parseLong(resGameDetails.data.preIssue.toString());
            if (b != 1 && b < 3) {

                mPresenter.getgamesdetail1(gameid);
                return;
            }
        }
        //请求余额刷新
        if (null != Info.user) {
            mPresenter.getmoney(Info.user.token);
        }
    }

    //快三
    public void miaosukuaisan1(ResGameDetails resGameDetails) {
        GameDetailActivityFinal.webvideo = resGameDetails.data.videoUrl;
//        webvideo = resGameDetails.data.videoUrl;
        dataid = String.valueOf(resGameDetails.data.issue);
        //赛车
        preiodUpTv.setText(resGameDetails.data.preIssue + "期");
        periodDownTv.setText(resGameDetails.data.issue + "期");
        if (!TextUtils.isEmpty(resGameDetails.data.issue.toString()) && !TextUtils.isEmpty(resGameDetails.data.preIssue.toString())) {
            long b = Long.parseLong(resGameDetails.data.issue.toString()) - Long.parseLong(resGameDetails.data.preIssue.toString());
            if (b != 1 && b < 3) {
                if (timer1 != null) {
                    timer1.cancel();
                    timer1 = null;
                }
                if (timer2 != null) {
                    timer2.cancel();
                    timer2 = null;
                }
                mPresenter.getgamesdetail(gameid);
                return;
            }
        }
        String[] strarray = resGameDetails.data.preNum.split(",");
        Glide.with(this).load(blankiv[Integer.parseInt(strarray[0]) - 1]).into(includ1One);
        Glide.with(this).load(blankiv[Integer.parseInt(strarray[1]) - 1]).into(includ1Two);
        Glide.with(this).load(blankiv[Integer.parseInt(strarray[2]) - 1]).into(includ1Three);
        if (strarray.length != 0) {
            int b = Integer.parseInt(strarray[0]) + Integer.parseInt(strarray[1]) + Integer.parseInt(strarray[2]);
            ivtext1.setText(String.valueOf(b));
            if (Integer.parseInt(strarray[0]) == Integer.parseInt(strarray[1]) && Integer.parseInt(strarray[0]) == Integer.parseInt(strarray[2])) {
                ivtext2.setText("豹子");
            } else {
                ivtext2.setText(b >= 11 ? " 大 " : " 小 ");
            }
            ivtext3.setText(b % 2 == 0 ? "双" : "单");
        }

        Drawable img = hezhibt.getResources().getDrawable(R.mipmap.whitedots);
// 调用setCompoundDrawables时，必须调用Drawable.setBounds()方法,否则图片不显示
        img.setBounds(0, 0, img.getMinimumWidth(), img.getMinimumHeight());
        hezhibt.setCompoundDrawables(img, null, null, null);
    }

    //设置字体颜色和背景色
    private void textcolorlist() {
        for (int i = 0; i < linearLayoutsList.size(); i++) {
            final int q = i;

            linearLayoutsList.get(i).linearLayout.setOnClickListener(new View.OnClickListener() {
                @Override
                public void onClick(View v) {
                    if (thecrownIndex.contains(q + "")) {
                        thecrownIndex.remove(q + "");
                        linearLayoutsList.get(q).linearLayout.setBackgroundResource(R.drawable.betting_backgroud);
                        if (null != linearLayoutsList.get(q).textView) {
                            linearLayoutsList.get(q).textView.setTextColor(getContext().getResources().getColor(R.color.blank));
                        }
                        linearLayoutsList.get(q).textViews.setTextColor(getContext().getResources().getColor(R.color.text_color2));

                    } else {
                        linearLayoutsList.get(q).linearLayout.setBackgroundResource(R.drawable.unxiazhu);
                        linearLayoutsList.get(q).textViews.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                        if (null != linearLayoutsList.get(q).textView) {
                            linearLayoutsList.get(q).textView.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                        }
                        thecrownIndex.add(q + "");
                    }
                    yixuanzhong.setText(thecrownIndex.size() + "");
                }
            });

        }

    }

    /**
     * 关闭软键盘
     */
    private void closeKeyBoard() {
        InputMethodManager imm = (InputMethodManager) touzhued.getContext().getSystemService(Context.INPUT_METHOD_SERVICE);
        if (imm.isActive()) {
            imm.hideSoftInputFromWindow(touzhued.getApplicationWindowToken(), 0);

        }
    }

    private void btsetcolor() {

        hezhibt.setBackgroundColor(getResources().getColor(R.color.gamebackground));
        sanlianhaobt.setBackgroundColor(getResources().getColor(R.color.gamebackground));
        santonghaobt.setBackgroundColor(getResources().getColor(R.color.gamebackground));
        ertonghaobt.setBackgroundColor(getResources().getColor(R.color.gamebackground));
        kuadubt.setBackgroundColor(getResources().getColor(R.color.gamebackground));
        paidianbt.setBackgroundColor(getResources().getColor(R.color.gamebackground));
        buchuhaomabt.setBackgroundColor(getResources().getColor(R.color.gamebackground));
        bichuhaomabt.setBackgroundColor(getResources().getColor(R.color.gamebackground));


        hezhibt.setTextColor(getResources().getColor(R.color.black));
        sanlianhaobt.setTextColor(getResources().getColor(R.color.black));
        santonghaobt.setTextColor(getResources().getColor(R.color.black));
        ertonghaobt.setTextColor(getResources().getColor(R.color.black));
        kuadubt.setTextColor(getResources().getColor(R.color.black));
        paidianbt.setTextColor(getResources().getColor(R.color.black));
        buchuhaomabt.setTextColor(getResources().getColor(R.color.black));
        bichuhaomabt.setTextColor(getResources().getColor(R.color.black));

        Drawable img = hezhibt.getResources().getDrawable(R.mipmap.graydots);
// 调用setCompoundDrawables时，必须调用Drawable.setBounds()方法,否则图片不显示
        img.setBounds(0, 0, img.getMinimumWidth(), img.getMinimumHeight());
        hezhibt.setCompoundDrawables(img, null, null, null);
        sanlianhaobt.setCompoundDrawables(img, null, null, null);
        santonghaobt.setCompoundDrawables(img, null, null, null);
        ertonghaobt.setCompoundDrawables(img, null, null, null);
        kuadubt.setCompoundDrawables(img, null, null, null);
        paidianbt.setCompoundDrawables(img, null, null, null);
        buchuhaomabt.setCompoundDrawables(img, null, null, null);
        bichuhaomabt.setCompoundDrawables(img, null, null, null);

    }

    public void moneychange(ResMoney resMoney) {
        tvmoney.setText(resMoney.data.balance + "");
        Info.user.money = resMoney.data.balance + "";
    }

    /**
     * 下注成功
     */
    public void betsuccses() {
        Toast.makeText(getContext(), "下注成功", Toast.LENGTH_SHORT).show();
        for (Viewbean q : linearLayoutsList) {
            q.linearLayout.setBackgroundResource(R.drawable.betting_backgroud);
            if (null != q.textView) {
                q.textView.setTextColor(getContext().getResources().getColor(R.color.blank));
            }
            q.textViews.setTextColor(getContext().getResources().getColor(R.color.text_color));
            thecrownIndex.remove(q + "");
        }
        thecrownIndex.clear();
        yixuanzhong.setText(thecrownIndex.size() + "");
        keybord.setVisibility(View.GONE);
        //请求余额刷新
        if (null != Info.user) {
            mPresenter.getmoney(Info.user.token);
        }
//        touzhued.setText("");
    }

    //token过期
    public void restartlogin() {
        Info.user = null;
        SpUtils.clearUser(getContext());
        ((BaseActivity) getActivity()).startLogin();
    }

    @OnClick({R.id.hezhibt, R.id.sanlianhaobt, R.id.santonghaobt, R.id.ertonghaobt, R.id.kuadubt, R.id.paidianbt, R.id.buchuhaomabt, R.id.bichuhaomabt})
    public void onViewClicked(View view) {
        Drawable img = hezhibt.getResources().getDrawable(R.mipmap.whitedots);
// 调用setCompoundDrawables时，必须调用Drawable.setBounds()方法,否则图片不显示
        img.setBounds(0, 0, img.getMinimumWidth(), img.getMinimumHeight());
        switch (view.getId()) {
            case R.id.hezhibt:
                btsetcolor();
                hezhibt.setCompoundDrawables(img, null, null, null);
                hezhibt.setBackgroundColor(getResources().getColor(R.color.text_color2));
                hezhibt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                hezhiitem.setVisibility(View.VISIBLE);
                sanlianitem.setVisibility(View.GONE);
                santongitem.setVisibility(View.GONE);
                ertongitem.setVisibility(View.GONE);
                kuaduitem.setVisibility(View.GONE);
                paidianitem.setVisibility(View.GONE);
                buchuhaomaitem.setVisibility(View.GONE);
                bichuhaomaitem.setVisibility(View.GONE);
                break;
            case R.id.sanlianhaobt:
                btsetcolor();
                sanlianhaobt.setCompoundDrawables(img, null, null, null);
                sanlianhaobt.setBackgroundColor(getResources().getColor(R.color.text_color2));
                sanlianhaobt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                hezhiitem.setVisibility(View.GONE);
                sanlianitem.setVisibility(View.VISIBLE);
                santongitem.setVisibility(View.GONE);
                ertongitem.setVisibility(View.GONE);
                kuaduitem.setVisibility(View.GONE);
                paidianitem.setVisibility(View.GONE);
                buchuhaomaitem.setVisibility(View.GONE);
                bichuhaomaitem.setVisibility(View.GONE);
                break;
            case R.id.santonghaobt:
                btsetcolor();
                santonghaobt.setCompoundDrawables(img, null, null, null);
                santonghaobt.setBackgroundColor(getResources().getColor(R.color.text_color2));
                santonghaobt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                hezhiitem.setVisibility(View.GONE);
                sanlianitem.setVisibility(View.GONE);
                santongitem.setVisibility(View.VISIBLE);
                ertongitem.setVisibility(View.GONE);
                kuaduitem.setVisibility(View.GONE);
                paidianitem.setVisibility(View.GONE);
                buchuhaomaitem.setVisibility(View.GONE);
                bichuhaomaitem.setVisibility(View.GONE);
                break;
            case R.id.ertonghaobt:
                btsetcolor();
                ertonghaobt.setCompoundDrawables(img, null, null, null);
                ertonghaobt.setBackgroundColor(getResources().getColor(R.color.text_color2));
                ertonghaobt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                hezhiitem.setVisibility(View.GONE);
                sanlianitem.setVisibility(View.GONE);
                santongitem.setVisibility(View.GONE);
                ertongitem.setVisibility(View.VISIBLE);
                kuaduitem.setVisibility(View.GONE);
                paidianitem.setVisibility(View.GONE);
                buchuhaomaitem.setVisibility(View.GONE);
                bichuhaomaitem.setVisibility(View.GONE);
                break;
            case R.id.paidianbt:
                btsetcolor();
                paidianbt.setCompoundDrawables(img, null, null, null);
                paidianbt.setBackgroundColor(getResources().getColor(R.color.text_color2));
                paidianbt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                hezhiitem.setVisibility(View.GONE);
                sanlianitem.setVisibility(View.GONE);
                santongitem.setVisibility(View.GONE);
                ertongitem.setVisibility(View.GONE);
                kuaduitem.setVisibility(View.VISIBLE);
                paidianitem.setVisibility(View.GONE);
                buchuhaomaitem.setVisibility(View.GONE);
                bichuhaomaitem.setVisibility(View.GONE);
                break;
            case R.id.kuadubt:
                btsetcolor();
                kuadubt.setCompoundDrawables(img, null, null, null);
                kuadubt.setBackgroundColor(getResources().getColor(R.color.text_color2));
                kuadubt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                hezhiitem.setVisibility(View.GONE);
                sanlianitem.setVisibility(View.GONE);
                santongitem.setVisibility(View.GONE);
                ertongitem.setVisibility(View.GONE);
                kuaduitem.setVisibility(View.GONE);
                paidianitem.setVisibility(View.VISIBLE);
                buchuhaomaitem.setVisibility(View.GONE);
                bichuhaomaitem.setVisibility(View.GONE);
                break;
            case R.id.buchuhaomabt:
                btsetcolor();
                buchuhaomabt.setCompoundDrawables(img, null, null, null);
                buchuhaomabt.setBackgroundColor(getResources().getColor(R.color.text_color2));
                buchuhaomabt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                hezhiitem.setVisibility(View.GONE);
                sanlianitem.setVisibility(View.GONE);
                santongitem.setVisibility(View.GONE);
                ertongitem.setVisibility(View.GONE);
                kuaduitem.setVisibility(View.GONE);
                paidianitem.setVisibility(View.GONE);
                buchuhaomaitem.setVisibility(View.VISIBLE);
                bichuhaomaitem.setVisibility(View.GONE);
                break;
            case R.id.bichuhaomabt:
                btsetcolor();
                bichuhaomabt.setCompoundDrawables(img, null, null, null);
                bichuhaomabt.setBackgroundColor(getResources().getColor(R.color.text_color2));
                bichuhaomabt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                hezhiitem.setVisibility(View.GONE);
                sanlianitem.setVisibility(View.GONE);
                santongitem.setVisibility(View.GONE);
                ertongitem.setVisibility(View.GONE);
                kuaduitem.setVisibility(View.GONE);
                paidianitem.setVisibility(View.GONE);
                buchuhaomaitem.setVisibility(View.GONE);
                bichuhaomaitem.setVisibility(View.VISIBLE);
                break;
        }
    }

    /**
     * 安徽快三
     *
     * @param listdata
     */
    public void setdataanhuikuaisan(Resanhuikuaisan.DataBean listdata) {
        //和值
        hezhidas.setText(listdata._$112304369);
        hezhixiaos.setText(listdata._$112304370);
        hezhidans.setText(listdata._$112304371);
        hezhishuangs.setText(listdata._$112304372);
        linearLayoutsList.add(new Viewbean(hezhidalin, hezhida, hezhidas, "和值", "112304369"));
        linearLayoutsList.add(new Viewbean(hezhixiaolin, hezhixiao, hezhixiaos, "和值", "112304370"));
        linearLayoutsList.add(new Viewbean(hezhidanlin, hezhidan, hezhidans, "和值", "112304371"));
        linearLayoutsList.add(new Viewbean(hezhishuanglin, hezhishuang, hezhishuangs, "和值", "112304372"));

        hezhi3s.setText(listdata._$112304353);
        hezhi4s.setText(listdata._$112304354);
        hezhi5s.setText(listdata._$112304355);
        hezhi6s.setText(listdata._$112304356);
        hezhi7s.setText(listdata._$112304357);
        hezhi8s.setText(listdata._$112304358);
        hezhi9s.setText(listdata._$112304359);
        hezhi10s.setText(listdata._$112304360);
        hezhi11s.setText(listdata._$112304361);
        hezhi12s.setText(listdata._$112304362);
        hezhi13s.setText(listdata._$112304363);
        hezhi14s.setText(listdata._$112304364);
        hezhi15s.setText(listdata._$112304365);
        hezhi16s.setText(listdata._$112304366);
        hezhi17s.setText(listdata._$112304367);
        hezhi18s.setText(listdata._$112304368);
        linearLayoutsList.add(new Viewbean(hezhi3lin, hezhi3, hezhi3s, "和值", "112304353"));
        linearLayoutsList.add(new Viewbean(hezhi4lin, hezhi4, hezhi4s, "和值", "112304354"));
        linearLayoutsList.add(new Viewbean(hezhi5lin, hezhi5, hezhi5s, "和值", "112304355"));
        linearLayoutsList.add(new Viewbean(hezhi6lin, hezhi6, hezhi6s, "和值", "112304356"));
        linearLayoutsList.add(new Viewbean(hezhi7lin, hezhi7, hezhi7s, "和值", "112304357"));
        linearLayoutsList.add(new Viewbean(hezhi8lin, hezhi8, hezhi8s, "和值", "112304358"));
        linearLayoutsList.add(new Viewbean(hezhi9lin, hezhi9, hezhi9s, "和值", "112304359"));
        linearLayoutsList.add(new Viewbean(hezhi10lin, hezhi10, hezhi10s, "和值", "112304360"));
        linearLayoutsList.add(new Viewbean(hezhi11lin, hezhi11, hezhi11s, "和值", "112304361"));
        linearLayoutsList.add(new Viewbean(hezhi12lin, hezhi12, hezhi12s, "和值", "112304362"));
        linearLayoutsList.add(new Viewbean(hezhi13lin, hezhi13, hezhi13s, "和值", "112304363"));
        linearLayoutsList.add(new Viewbean(hezhi14lin, hezhi14, hezhi14s, "和值", "112304364"));
        linearLayoutsList.add(new Viewbean(hezhi15lin, hezhi15, hezhi15s, "和值", "112304365"));
        linearLayoutsList.add(new Viewbean(hezhi16lin, hezhi16, hezhi16s, "和值", "112304366"));
        linearLayoutsList.add(new Viewbean(hezhi17lin, hezhi17, hezhi17s, "和值", "112304367"));
        linearLayoutsList.add(new Viewbean(hezhi18lin, hezhi18, hezhi18s, "和值", "112304368"));
        //三连
        sanlian1.setText(listdata._$112314373);
        sanlian2.setText(listdata._$112314374);
        sanlian3.setText(listdata._$112314375);
        sanlian4.setText(listdata._$112314376);
        sanliandibus.setText(listdata._$112314377);
        linearLayoutsList.add(new Viewbean(sanlian1lin, sanlian123, sanlian1, "三连号", "112314373"));
        linearLayoutsList.add(new Viewbean(sanlian2lin, sanlian234, sanlian2, "三连号", "112314374"));
        linearLayoutsList.add(new Viewbean(sanlian3lin, sanlian345, sanlian3, "三连号", "112314375"));
        linearLayoutsList.add(new Viewbean(sanlian4lin, sanlian456, sanlian4, "三连号", "112314376"));
        linearLayoutsList.add(new Viewbean(sanliandibulin, sanliandibu, sanliandibus, "三连号", "112314377"));
        //三同
        santong1.setText(listdata._$112324378);
        santong2.setText(listdata._$112324379);
        santong3.setText(listdata._$112324380);
        santong4.setText(listdata._$112324381);
        santong5.setText(listdata._$112324382);
        santong6.setText(listdata._$112324383);
        santongdibus.setText(listdata._$112324384);
        linearLayoutsList.add(new Viewbean(santong1lin, santong111, santong1, "三同号", "112324378"));
        linearLayoutsList.add(new Viewbean(santong2lin, santong222, santong2, "三同号", "112324379"));
        linearLayoutsList.add(new Viewbean(santong3lin, santong333, santong3, "三同号", "112324380"));
        linearLayoutsList.add(new Viewbean(santong4lin, santong444, santong4, "三同号", "112324381"));
        linearLayoutsList.add(new Viewbean(santong5lin, santong555, santong5, "三同号", "112324382"));
        linearLayoutsList.add(new Viewbean(santong6lin, santong666, santong6, "三同号", "112324383"));
        linearLayoutsList.add(new Viewbean(santongdibulin, santongdibu, santongdibus, "三同号", "112324384"));
        //二同
        ertong1.setText(listdata._$112334385);
        ertong2.setText(listdata._$112334386);
        ertong3.setText(listdata._$112334387);
        ertong4.setText(listdata._$112334388);
        ertong5.setText(listdata._$112334389);
        ertong6.setText(listdata._$112334390);
        linearLayoutsList.add(new Viewbean(ertong1lin, ertong11, ertong1, "二同号", "112334385"));
        linearLayoutsList.add(new Viewbean(ertong2lin, ertong22, ertong2, "二同号", "112334386"));
        linearLayoutsList.add(new Viewbean(ertong3lin, ertong33, ertong3, "二同号", "112334387"));
        linearLayoutsList.add(new Viewbean(ertong4lin, ertong44, ertong4, "二同号", "112334388"));
        linearLayoutsList.add(new Viewbean(ertong5lin, ertong55, ertong5, "二同号", "112334389"));
        linearLayoutsList.add(new Viewbean(ertong6lin, ertong66, ertong6, "二同号", "112334390"));
        //牌点（和跨度反了）
        kuadudas.setText(listdata._$112354411);
        kuaduxiaos.setText(listdata._$112354412);
        kuadudans.setText(listdata._$112354413);
        kuadushuangs.setText(listdata._$112354414);
        linearLayoutsList.add(new Viewbean(kuadudalin, kuaduda, kuadudas, "牌点", "112354411"));
        linearLayoutsList.add(new Viewbean(kuaduxiaolin, kuaduxiao, kuaduxiaos, "牌点", "112354412"));
        linearLayoutsList.add(new Viewbean(kuadudanlin, kuadudan, kuadudans, "牌点", "112354413"));
        linearLayoutsList.add(new Viewbean(kuadushuanglin, kuadushuang, kuadushuangs, "牌点", "112354414"));
        kuadu1s.setText(listdata._$112354401);
        kuadu2s.setText(listdata._$112354402);
        kuadu3s.setText(listdata._$112354403);
        kuadu4s.setText(listdata._$112354404);
        kuadu5s.setText(listdata._$112354405);
        kuadu6s.setText(listdata._$112354406);
        kuadu7s.setText(listdata._$112354407);
        kuadu8s.setText(listdata._$112354408);
        kuadu9s.setText(listdata._$112354409);
        kuadu10s.setText(listdata._$112354410);
        linearLayoutsList.add(new Viewbean(kuadu1lin, kuadu1, kuadu1s, "牌点", "112354401"));
        linearLayoutsList.add(new Viewbean(kuadu2lin, kuadu2, kuadu2s, "牌点", "112354402"));
        linearLayoutsList.add(new Viewbean(kuadu3lin, kuadu3, kuadu3s, "牌点", "112354403"));
        linearLayoutsList.add(new Viewbean(kuadu4lin, kuadu4, kuadu4s, "牌点", "112354404"));
        linearLayoutsList.add(new Viewbean(kuadu5lin, kuadu5, kuadu5s, "牌点", "112354405"));
        linearLayoutsList.add(new Viewbean(kuadu6lin, kuadu6, kuadu6s, "牌点", "112354406"));
        linearLayoutsList.add(new Viewbean(kuadu7lin, kuadu7, kuadu7s, "牌点", "112354407"));
        linearLayoutsList.add(new Viewbean(kuadu8lin, kuadu8, kuadu8s, "牌点", "112354408"));
        linearLayoutsList.add(new Viewbean(kuadu9lin, kuadu9, kuadu9s, "牌点", "112354409"));
        linearLayoutsList.add(new Viewbean(kuadu10lin, kuadu10, kuadu10s, "牌点", "112354410"));
        //跨度
        paidiandas.setText(listdata._$112344397);
        paidianxiaos.setText(listdata._$112344398);
        paidiandans.setText(listdata._$112344399);
        paidianshuangs.setText(listdata._$112344400);
        linearLayoutsList.add(new Viewbean(paidiandalin, paidianda, paidiandas, "跨度", "112344397"));
        linearLayoutsList.add(new Viewbean(paidianxiaolin, paidianxiao, paidianxiaos, "跨度", "112344398"));
        linearLayoutsList.add(new Viewbean(paidiandanlin, paidiandan, paidiandans, "跨度", "112344399"));
        linearLayoutsList.add(new Viewbean(paidianshuanglin, paidianshuang, paidianshuangs, "跨度", "112344400"));
        //
        paidian0s.setText(listdata._$112344391);
        paidian1s.setText(listdata._$112344392);
        paidian2s.setText(listdata._$112344393);
        paidian3s.setText(listdata._$112344394);
        paidian4s.setText(listdata._$112344395);
        paidian5s.setText(listdata._$112344396);
        linearLayoutsList.add(new Viewbean(paidian0lin, paidian0, paidian0s, "跨度", "112344391"));
        linearLayoutsList.add(new Viewbean(paidian1lin, paidian1, paidian1s, "跨度", "112344392"));
        linearLayoutsList.add(new Viewbean(paidian2lin, paidian2, paidian2s, "跨度", "112344393"));
        linearLayoutsList.add(new Viewbean(paidian3lin, paidian3, paidian3s, "跨度", "112344394"));
        linearLayoutsList.add(new Viewbean(paidian4lin, paidian4, paidian4s, "跨度", "112344395"));
        linearLayoutsList.add(new Viewbean(paidian5lin, paidian5, paidian5s, "跨度", "112344396"));
        //不出号码
        buchuhaoma1.setText(listdata._$112364415);
        buchuhaoma2.setText(listdata._$112364416);
        buchuhaoma3.setText(listdata._$112364417);
        buchuhaoma4.setText(listdata._$112364418);
        buchuhaoma5.setText(listdata._$112364419);
        buchuhaoma6.setText(listdata._$112364420);
        linearLayoutsList.add(new Viewbean(buchuhaoma1lin, haoma1, buchuhaoma1, "不出号码", "112364415"));
        linearLayoutsList.add(new Viewbean(buchuhaoma2lin, haoma2, buchuhaoma2, "不出号码", "112364416"));
        linearLayoutsList.add(new Viewbean(buchuhaoma3lin, haoma3, buchuhaoma3, "不出号码", "112364417"));
        linearLayoutsList.add(new Viewbean(buchuhaoma4lin, haoma4, buchuhaoma4, "不出号码", "112364418"));
        linearLayoutsList.add(new Viewbean(buchuhaoma5lin, haoma5, buchuhaoma5, "不出号码", "112364419"));
        linearLayoutsList.add(new Viewbean(buchuhaoma6lin, haoma6, buchuhaoma6, "不出号码", "112364420"));

        //必出号码
        bichuhaoma1.setText(listdata._$112374421);
        bichuhaoma2.setText(listdata._$112374422);
        bichuhaoma3.setText(listdata._$112374423);
        bichuhaoma4.setText(listdata._$112374424);
        bichuhaoma5.setText(listdata._$112374425);
        bichuhaoma6.setText(listdata._$112374426);
        linearLayoutsList.add(new Viewbean(bichuhaoma1lin, haoma1, bichuhaoma1, "必出号码", "112374421"));
        linearLayoutsList.add(new Viewbean(bichuhaoma2lin, haoma2, bichuhaoma2, "必出号码", "112374422"));
        linearLayoutsList.add(new Viewbean(bichuhaoma3lin, haoma3, bichuhaoma3, "必出号码", "112374423"));
        linearLayoutsList.add(new Viewbean(bichuhaoma4lin, haoma4, bichuhaoma4, "必出号码", "112374424"));
        linearLayoutsList.add(new Viewbean(bichuhaoma5lin, haoma5, bichuhaoma5, "必出号码", "112374425"));
        linearLayoutsList.add(new Viewbean(bichuhaoma6lin, haoma6, bichuhaoma6, "必出号码", "112374426"));
        textcolorlist();
    }

    /////////////////////////////////////////////////////////////////////////////
    class Adapter extends RecyclerView.Adapter<Adapter.MViewHolder>
            implements OnItemClickListener {
        @Override
        public MViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
            return new MViewHolder(LayoutInflater.from(getContext())
                    .inflate(R.layout.game_popitem, parent, false));

        }

        @Override
        public void onBindViewHolder(final MViewHolder holder, final int position) {
            holder.geme_tv.setText("【" + betBean_title1[position] + "-" + betBean_text1[position] + "】");
            holder.geme_tv1.setText("@" + betBean_odds1[position] + "×" + betBean_money1[position]);

            if (position + 1 == thecrownIndex.size()) {
                holder.game_pop_botton.setVisibility(View.VISIBLE);
                holder.game_pop_bottonlin.setVisibility(View.VISIBLE);
                holder.leftmoney.setText(position + 1 + "");
                holder.rightmoney.setText((position + 1) * Long.parseLong(betBean_money1[0]) + "");
            } else {
                holder.game_pop_botton.setVisibility(View.GONE);
                holder.game_pop_bottonlin.setVisibility(View.GONE);
            }
        }

        @Override
        public int getItemCount() {
            return thecrownIndex.size();
        }

        @Override
        public void onItemClick(View view, int position) {

        }

        class MViewHolder extends RecyclerView.ViewHolder {
            TextView geme_tv, leftmoney, rightmoney;
            TextView geme_tv1;
            View game_pop_bottonlin;
            LinearLayout game_pop_botton;

            MViewHolder(View itemView) {
                super(itemView);
                geme_tv = (TextView) itemView.findViewById(R.id.gamepoptext);
                geme_tv1 = (TextView) itemView.findViewById(R.id.gamepoptext1);
                leftmoney = (TextView) itemView.findViewById(R.id.leftmoney);
                rightmoney = (TextView) itemView.findViewById(R.id.rightmoney);
                game_pop_bottonlin = (View) itemView.findViewById(R.id.game_pop_bottonlin);
                game_pop_botton = (LinearLayout) itemView.findViewById(R.id.game_pop_botton);

            }
        }
    }

    /**
     * 贵州快三
     */
    public void setguizhoukuaisan(Resguizhouk3.DataBean listdata) {
//和值
        hezhidas.setText(listdata._$182704946);
        hezhixiaos.setText(listdata._$182704945);
        hezhidans.setText(listdata._$182704944);
        hezhishuangs.setText(listdata._$182704943);
        linearLayoutsList.add(new Viewbean(hezhidalin, hezhida, hezhidas, "和值", "182704946"));
        linearLayoutsList.add(new Viewbean(hezhixiaolin, hezhixiao, hezhixiaos, "和值", "182704945"));
        linearLayoutsList.add(new Viewbean(hezhidanlin, hezhidan, hezhidans, "和值", "182704944"));
        linearLayoutsList.add(new Viewbean(hezhishuanglin, hezhishuang, hezhishuangs, "和值", "182704943"));

        hezhi3s.setText(listdata._$182704962);
        hezhi4s.setText(listdata._$182704961);
        hezhi5s.setText(listdata._$182704960);
        hezhi6s.setText(listdata._$182704959);
        hezhi7s.setText(listdata._$182704958);
        hezhi8s.setText(listdata._$182704957);
        hezhi9s.setText(listdata._$182704956);
        hezhi10s.setText(listdata._$182704955);
        hezhi11s.setText(listdata._$182704954);
        hezhi12s.setText(listdata._$182704953);
        hezhi13s.setText(listdata._$182704952);
        hezhi14s.setText(listdata._$182704951);
        hezhi15s.setText(listdata._$182704950);
        hezhi16s.setText(listdata._$182704949);
        hezhi17s.setText(listdata._$182704948);
        hezhi18s.setText(listdata._$182704947);
        linearLayoutsList.add(new Viewbean(hezhi3lin, hezhi3, hezhi3s, "和值", "182704962"));
        linearLayoutsList.add(new Viewbean(hezhi4lin, hezhi4, hezhi4s, "和值", "182704961"));
        linearLayoutsList.add(new Viewbean(hezhi5lin, hezhi5, hezhi5s, "和值", "182704960"));
        linearLayoutsList.add(new Viewbean(hezhi6lin, hezhi6, hezhi6s, "和值", "182704959"));
        linearLayoutsList.add(new Viewbean(hezhi7lin, hezhi7, hezhi7s, "和值", "182704958"));
        linearLayoutsList.add(new Viewbean(hezhi8lin, hezhi8, hezhi8s, "和值", "182704957"));
        linearLayoutsList.add(new Viewbean(hezhi9lin, hezhi9, hezhi9s, "和值", "182704956"));
        linearLayoutsList.add(new Viewbean(hezhi10lin, hezhi10, hezhi10s, "和值", "182704955"));
        linearLayoutsList.add(new Viewbean(hezhi11lin, hezhi11, hezhi11s, "和值", "182704954"));
        linearLayoutsList.add(new Viewbean(hezhi12lin, hezhi12, hezhi12s, "和值", "182704953"));
        linearLayoutsList.add(new Viewbean(hezhi13lin, hezhi13, hezhi13s, "和值", "182704952"));
        linearLayoutsList.add(new Viewbean(hezhi14lin, hezhi14, hezhi14s, "和值", "182704951"));
        linearLayoutsList.add(new Viewbean(hezhi15lin, hezhi15, hezhi15s, "和值", "182704950"));
        linearLayoutsList.add(new Viewbean(hezhi16lin, hezhi16, hezhi16s, "和值", "182704949"));
        linearLayoutsList.add(new Viewbean(hezhi17lin, hezhi17, hezhi17s, "和值", "182704948"));
        linearLayoutsList.add(new Viewbean(hezhi18lin, hezhi18, hezhi18s, "和值", "182704947"));
        //三连
        sanlian1.setText(listdata._$182714942);
        sanlian2.setText(listdata._$182714941);
        sanlian3.setText(listdata._$182714940);
        sanlian4.setText(listdata._$182714939);
        sanliandibus.setText(listdata._$182714938);
        linearLayoutsList.add(new Viewbean(sanlian1lin, sanlian123, sanlian1, "三连号", "182714942"));
        linearLayoutsList.add(new Viewbean(sanlian2lin, sanlian234, sanlian2, "三连号", "182714941"));
        linearLayoutsList.add(new Viewbean(sanlian3lin, sanlian345, sanlian3, "三连号", "182714940"));
        linearLayoutsList.add(new Viewbean(sanlian4lin, sanlian456, sanlian4, "三连号", "182714939"));
        linearLayoutsList.add(new Viewbean(sanliandibulin, sanliandibu, sanliandibus, "三连号", "182714938"));
        //三同
        santong1.setText(listdata._$182724937);
        santong2.setText(listdata._$182724936);
        santong3.setText(listdata._$182724935);
        santong4.setText(listdata._$182724934);
        santong5.setText(listdata._$182724933);
        santong6.setText(listdata._$182724932);
        santongdibus.setText(listdata._$182724931);
        linearLayoutsList.add(new Viewbean(santong1lin, santong111, santong1, "三同号", "182724937"));
        linearLayoutsList.add(new Viewbean(santong2lin, santong222, santong2, "三同号", "182724936"));
        linearLayoutsList.add(new Viewbean(santong3lin, santong333, santong3, "三同号", "182724935"));
        linearLayoutsList.add(new Viewbean(santong4lin, santong444, santong4, "三同号", "182724934"));
        linearLayoutsList.add(new Viewbean(santong5lin, santong555, santong5, "三同号", "182724933"));
        linearLayoutsList.add(new Viewbean(santong6lin, santong666, santong6, "三同号", "182724932"));
        linearLayoutsList.add(new Viewbean(santongdibulin, santongdibu, santongdibus, "三同号", "182724931"));
        //二同
        ertong1.setText(listdata._$182734930);
        ertong2.setText(listdata._$182734929);
        ertong3.setText(listdata._$182734928);
        ertong4.setText(listdata._$182734927);
        ertong5.setText(listdata._$182734926);
        ertong6.setText(listdata._$182734925);
        linearLayoutsList.add(new Viewbean(ertong1lin, ertong11, ertong1, "二同号", "182734930"));
        linearLayoutsList.add(new Viewbean(ertong2lin, ertong22, ertong2, "二同号", "182734929"));
        linearLayoutsList.add(new Viewbean(ertong3lin, ertong33, ertong3, "二同号", "182734928"));
        linearLayoutsList.add(new Viewbean(ertong4lin, ertong44, ertong4, "二同号", "182734927"));
        linearLayoutsList.add(new Viewbean(ertong5lin, ertong55, ertong5, "二同号", "182734926"));
        linearLayoutsList.add(new Viewbean(ertong6lin, ertong66, ertong6, "二同号", "182734925"));
        //牌点（和跨度反了）
        kuadudas.setText(listdata._$182754904);
        kuaduxiaos.setText(listdata._$182754903);
        kuadudans.setText(listdata._$182754902);
        kuadushuangs.setText(listdata._$182754901);
        linearLayoutsList.add(new Viewbean(kuadudalin, kuaduda, kuadudas, "牌点", "182754904"));
        linearLayoutsList.add(new Viewbean(kuaduxiaolin, kuaduxiao, kuaduxiaos, "牌点", "182754903"));
        linearLayoutsList.add(new Viewbean(kuadudanlin, kuadudan, kuadudans, "牌点", "182754902"));
        linearLayoutsList.add(new Viewbean(kuadushuanglin, kuadushuang, kuadushuangs, "牌点", "182754901"));
        kuadu1s.setText(listdata._$182754914);
        kuadu2s.setText(listdata._$182754913);
        kuadu3s.setText(listdata._$182754912);
        kuadu4s.setText(listdata._$182754911);
        kuadu5s.setText(listdata._$182754910);
        kuadu6s.setText(listdata._$182754909);
        kuadu7s.setText(listdata._$182754908);
        kuadu8s.setText(listdata._$182754907);
        kuadu9s.setText(listdata._$182754906);
        kuadu10s.setText(listdata._$182754905);
        linearLayoutsList.add(new Viewbean(kuadu1lin, kuadu1, kuadu1s, "牌点", "182754914"));
        linearLayoutsList.add(new Viewbean(kuadu2lin, kuadu2, kuadu2s, "牌点", "182754913"));
        linearLayoutsList.add(new Viewbean(kuadu3lin, kuadu3, kuadu3s, "牌点", "182754912"));
        linearLayoutsList.add(new Viewbean(kuadu4lin, kuadu4, kuadu4s, "牌点", "182754911"));
        linearLayoutsList.add(new Viewbean(kuadu5lin, kuadu5, kuadu5s, "牌点", "182754910"));
        linearLayoutsList.add(new Viewbean(kuadu6lin, kuadu6, kuadu6s, "牌点", "182754909"));
        linearLayoutsList.add(new Viewbean(kuadu7lin, kuadu7, kuadu7s, "牌点", "182754908"));
        linearLayoutsList.add(new Viewbean(kuadu8lin, kuadu8, kuadu8s, "牌点", "182754907"));
        linearLayoutsList.add(new Viewbean(kuadu9lin, kuadu9, kuadu9s, "牌点", "182754906"));
        linearLayoutsList.add(new Viewbean(kuadu10lin, kuadu10, kuadu10s, "牌点", "182754905"));
        //跨度
        paidiandas.setText(listdata._$182744918);
        paidianxiaos.setText(listdata._$182744917);
        paidiandans.setText(listdata._$182744916);
        paidianshuangs.setText(listdata._$182744915);
        linearLayoutsList.add(new Viewbean(paidiandalin, paidianda, paidiandas, "跨度", "182744918"));
        linearLayoutsList.add(new Viewbean(paidianxiaolin, paidianxiao, paidianxiaos, "跨度", "182744917"));
        linearLayoutsList.add(new Viewbean(paidiandanlin, paidiandan, paidiandans, "跨度", "182744916"));
        linearLayoutsList.add(new Viewbean(paidianshuanglin, paidianshuang, paidianshuangs, "跨度", "182744915"));
        //
        paidian0s.setText(listdata._$182744924);
        paidian1s.setText(listdata._$182744923);
        paidian2s.setText(listdata._$182744922);
        paidian3s.setText(listdata._$182744921);
        paidian4s.setText(listdata._$182744920);
        paidian5s.setText(listdata._$182744919);
        linearLayoutsList.add(new Viewbean(paidian0lin, paidian0, paidian0s, "跨度", "182744924"));
        linearLayoutsList.add(new Viewbean(paidian1lin, paidian1, paidian1s, "跨度", "182744923"));
        linearLayoutsList.add(new Viewbean(paidian2lin, paidian2, paidian2s, "跨度", "182744922"));
        linearLayoutsList.add(new Viewbean(paidian3lin, paidian3, paidian3s, "跨度", "182744921"));
        linearLayoutsList.add(new Viewbean(paidian4lin, paidian4, paidian4s, "跨度", "182744920"));
        linearLayoutsList.add(new Viewbean(paidian5lin, paidian5, paidian5s, "跨度", "182744919"));
        //不出号码
        buchuhaoma1.setText(listdata._$182764900);
        buchuhaoma2.setText(listdata._$182764899);
        buchuhaoma3.setText(listdata._$182764898);
        buchuhaoma4.setText(listdata._$182764897);
        buchuhaoma5.setText(listdata._$182764896);
        buchuhaoma6.setText(listdata._$182764895);
        linearLayoutsList.add(new Viewbean(buchuhaoma1lin, haoma1, buchuhaoma1, "不出号码", "182764900"));
        linearLayoutsList.add(new Viewbean(buchuhaoma2lin, haoma2, buchuhaoma2, "不出号码", "182764899"));
        linearLayoutsList.add(new Viewbean(buchuhaoma3lin, haoma3, buchuhaoma3, "不出号码", "182764898"));
        linearLayoutsList.add(new Viewbean(buchuhaoma4lin, haoma4, buchuhaoma4, "不出号码", "182764897"));
        linearLayoutsList.add(new Viewbean(buchuhaoma5lin, haoma5, buchuhaoma5, "不出号码", "182764896"));
        linearLayoutsList.add(new Viewbean(buchuhaoma6lin, haoma6, buchuhaoma6, "不出号码", "182764895"));

        //必出号码
        bichuhaoma1.setText(listdata._$182774894);
        bichuhaoma2.setText(listdata._$182774893);
        bichuhaoma3.setText(listdata._$182774892);
        bichuhaoma4.setText(listdata._$182774891);
        bichuhaoma5.setText(listdata._$182774890);
        bichuhaoma6.setText(listdata._$182774889);
        linearLayoutsList.add(new Viewbean(bichuhaoma1lin, haoma1, bichuhaoma1, "必出号码", "182774894"));
        linearLayoutsList.add(new Viewbean(bichuhaoma2lin, haoma2, bichuhaoma2, "必出号码", "182774893"));
        linearLayoutsList.add(new Viewbean(bichuhaoma3lin, haoma3, bichuhaoma3, "必出号码", "182774892"));
        linearLayoutsList.add(new Viewbean(bichuhaoma4lin, haoma4, bichuhaoma4, "必出号码", "182774891"));
        linearLayoutsList.add(new Viewbean(bichuhaoma5lin, haoma5, bichuhaoma5, "必出号码", "182774890"));
        linearLayoutsList.add(new Viewbean(bichuhaoma6lin, haoma6, bichuhaoma6, "必出号码", "182774889"));
        textcolorlist();
    }


    /**
     * 河北快三
     */
    public void sethebeikuaisan(Reshebeik3.DataBean listdata) {
//和值
        hezhidas.setText(listdata._$152544798);
        hezhixiaos.setText(listdata._$152544797);
        hezhidans.setText(listdata._$152544796);
        hezhishuangs.setText(listdata._$152544795);
        linearLayoutsList.add(new Viewbean(hezhidalin, hezhida, hezhidas, "和值", "152544798"));
        linearLayoutsList.add(new Viewbean(hezhixiaolin, hezhixiao, hezhixiaos, "和值", "152544797"));
        linearLayoutsList.add(new Viewbean(hezhidanlin, hezhidan, hezhidans, "和值", "152544796"));
        linearLayoutsList.add(new Viewbean(hezhishuanglin, hezhishuang, hezhishuangs, "和值", "152544795"));

        hezhi3s.setText(listdata._$152544814);
        hezhi4s.setText(listdata._$152544813);
        hezhi5s.setText(listdata._$152544812);
        hezhi6s.setText(listdata._$152544811);
        hezhi7s.setText(listdata._$152544810);
        hezhi8s.setText(listdata._$152544809);
        hezhi9s.setText(listdata._$152544808);
        hezhi10s.setText(listdata._$152544807);
        hezhi11s.setText(listdata._$152544806);
        hezhi12s.setText(listdata._$152544805);
        hezhi13s.setText(listdata._$152544804);
        hezhi14s.setText(listdata._$152544803);
        hezhi15s.setText(listdata._$152544802);
        hezhi16s.setText(listdata._$152544801);
        hezhi17s.setText(listdata._$152544800);
        hezhi18s.setText(listdata._$152544799);
        linearLayoutsList.add(new Viewbean(hezhi3lin, hezhi3, hezhi3s, "和值", "152544814"));
        linearLayoutsList.add(new Viewbean(hezhi4lin, hezhi4, hezhi4s, "和值", "152544813"));
        linearLayoutsList.add(new Viewbean(hezhi5lin, hezhi5, hezhi5s, "和值", "152544812"));
        linearLayoutsList.add(new Viewbean(hezhi6lin, hezhi6, hezhi6s, "和值", "152544811"));
        linearLayoutsList.add(new Viewbean(hezhi7lin, hezhi7, hezhi7s, "和值", "152544810"));
        linearLayoutsList.add(new Viewbean(hezhi8lin, hezhi8, hezhi8s, "和值", "152544809"));
        linearLayoutsList.add(new Viewbean(hezhi9lin, hezhi9, hezhi9s, "和值", "152544808"));
        linearLayoutsList.add(new Viewbean(hezhi10lin, hezhi10, hezhi10s, "和值", "152544807"));
        linearLayoutsList.add(new Viewbean(hezhi11lin, hezhi11, hezhi11s, "和值", "152544806"));
        linearLayoutsList.add(new Viewbean(hezhi12lin, hezhi12, hezhi12s, "和值", "152544805"));
        linearLayoutsList.add(new Viewbean(hezhi13lin, hezhi13, hezhi13s, "和值", "152544804"));
        linearLayoutsList.add(new Viewbean(hezhi14lin, hezhi14, hezhi14s, "和值", "152544803"));
        linearLayoutsList.add(new Viewbean(hezhi15lin, hezhi15, hezhi15s, "和值", "152544802"));
        linearLayoutsList.add(new Viewbean(hezhi16lin, hezhi16, hezhi16s, "和值", "152544801"));
        linearLayoutsList.add(new Viewbean(hezhi17lin, hezhi17, hezhi17s, "和值", "152544800"));
        linearLayoutsList.add(new Viewbean(hezhi18lin, hezhi18, hezhi18s, "和值", "152544799"));
        //三连
        sanlian1.setText(listdata._$152554794);
        sanlian2.setText(listdata._$152554793);
        sanlian3.setText(listdata._$152554792);
        sanlian4.setText(listdata._$152554791);
        sanliandibus.setText(listdata._$152554790);
        linearLayoutsList.add(new Viewbean(sanlian1lin, sanlian123, sanlian1, "三连号", "152554794"));
        linearLayoutsList.add(new Viewbean(sanlian2lin, sanlian234, sanlian2, "三连号", "152554793"));
        linearLayoutsList.add(new Viewbean(sanlian3lin, sanlian345, sanlian3, "三连号", "152554792"));
        linearLayoutsList.add(new Viewbean(sanlian4lin, sanlian456, sanlian4, "三连号", "152554791"));
        linearLayoutsList.add(new Viewbean(sanliandibulin, sanliandibu, sanliandibus, "三连号", "152554790"));
        //三同
        santong1.setText(listdata._$152564789);
        santong2.setText(listdata._$152564788);
        santong3.setText(listdata._$152564787);
        santong4.setText(listdata._$152564786);
        santong5.setText(listdata._$152564785);
        santong6.setText(listdata._$152564784);
        santongdibus.setText(listdata._$152564783);
        linearLayoutsList.add(new Viewbean(santong1lin, santong111, santong1, "三同号", "152564789"));
        linearLayoutsList.add(new Viewbean(santong2lin, santong222, santong2, "三同号", "152564788"));
        linearLayoutsList.add(new Viewbean(santong3lin, santong333, santong3, "三同号", "152564787"));
        linearLayoutsList.add(new Viewbean(santong4lin, santong444, santong4, "三同号", "152564786"));
        linearLayoutsList.add(new Viewbean(santong5lin, santong555, santong5, "三同号", "152564785"));
        linearLayoutsList.add(new Viewbean(santong6lin, santong666, santong6, "三同号", "152564784"));
        linearLayoutsList.add(new Viewbean(santongdibulin, santongdibu, santongdibus, "三同号", "152564783"));

        //二同
        ertong1.setText(listdata._$152574782);
        ertong2.setText(listdata._$152574781);
        ertong3.setText(listdata._$152574780);
        ertong4.setText(listdata._$152574779);
        ertong5.setText(listdata._$152574778);
        ertong6.setText(listdata._$152574777);
        linearLayoutsList.add(new Viewbean(ertong1lin, ertong11, ertong1, "二同号", "152574782"));
        linearLayoutsList.add(new Viewbean(ertong2lin, ertong22, ertong2, "二同号", "152574781"));
        linearLayoutsList.add(new Viewbean(ertong3lin, ertong33, ertong3, "二同号", "152574780"));
        linearLayoutsList.add(new Viewbean(ertong4lin, ertong44, ertong4, "二同号", "152574779"));
        linearLayoutsList.add(new Viewbean(ertong5lin, ertong55, ertong5, "二同号", "152574778"));
        linearLayoutsList.add(new Viewbean(ertong6lin, ertong66, ertong6, "二同号", "152574777"));

        //牌点（和跨度反了）
        kuadudas.setText(listdata._$152594756);
        kuaduxiaos.setText(listdata._$152594755);
        kuadudans.setText(listdata._$152594754);
        kuadushuangs.setText(listdata._$152594753);
        linearLayoutsList.add(new Viewbean(kuadudalin, kuaduda, kuadudas, "牌点", "152594756"));
        linearLayoutsList.add(new Viewbean(kuaduxiaolin, kuaduxiao, kuaduxiaos, "牌点", "152594755"));
        linearLayoutsList.add(new Viewbean(kuadudanlin, kuadudan, kuadudans, "牌点", "152594754"));
        linearLayoutsList.add(new Viewbean(kuadushuanglin, kuadushuang, kuadushuangs, "牌点", "152594753"));

        kuadu1s.setText(listdata._$152594766);
        kuadu2s.setText(listdata._$152594765);
        kuadu3s.setText(listdata._$152594764);
        kuadu4s.setText(listdata._$152594763);
        kuadu5s.setText(listdata._$152594762);
        kuadu6s.setText(listdata._$152594761);
        kuadu7s.setText(listdata._$152594760);
        kuadu8s.setText(listdata._$152594759);
        kuadu9s.setText(listdata._$152594758);
        kuadu10s.setText(listdata._$152594757);
        linearLayoutsList.add(new Viewbean(kuadu1lin, kuadu1, kuadu1s, "牌点", "152594766"));
        linearLayoutsList.add(new Viewbean(kuadu2lin, kuadu2, kuadu2s, "牌点", "152594765"));
        linearLayoutsList.add(new Viewbean(kuadu3lin, kuadu3, kuadu3s, "牌点", "152594764"));
        linearLayoutsList.add(new Viewbean(kuadu4lin, kuadu4, kuadu4s, "牌点", "152594763"));
        linearLayoutsList.add(new Viewbean(kuadu5lin, kuadu5, kuadu5s, "牌点", "152594762"));
        linearLayoutsList.add(new Viewbean(kuadu6lin, kuadu6, kuadu6s, "牌点", "152594761"));
        linearLayoutsList.add(new Viewbean(kuadu7lin, kuadu7, kuadu7s, "牌点", "152594760"));
        linearLayoutsList.add(new Viewbean(kuadu8lin, kuadu8, kuadu8s, "牌点", "152594759"));
        linearLayoutsList.add(new Viewbean(kuadu9lin, kuadu9, kuadu9s, "牌点", "152594758"));
        linearLayoutsList.add(new Viewbean(kuadu10lin, kuadu10, kuadu10s, "牌点", "152594757"));

        //跨度
        paidiandas.setText(listdata._$152584770);
        paidianxiaos.setText(listdata._$152584769);
        paidiandans.setText(listdata._$152584768);
        paidianshuangs.setText(listdata._$152584767);
        linearLayoutsList.add(new Viewbean(paidiandalin, paidianda, paidiandas, "跨度", "152584770"));
        linearLayoutsList.add(new Viewbean(paidianxiaolin, paidianxiao, paidianxiaos, "跨度", "152584769"));
        linearLayoutsList.add(new Viewbean(paidiandanlin, paidiandan, paidiandans, "跨度", "152584768"));
        linearLayoutsList.add(new Viewbean(paidianshuanglin, paidianshuang, paidianshuangs, "跨度", "152584767"));

        //
        paidian0s.setText(listdata._$152584776);
        paidian1s.setText(listdata._$152584775);
        paidian2s.setText(listdata._$152584774);
        paidian3s.setText(listdata._$152584773);
        paidian4s.setText(listdata._$152584772);
        paidian5s.setText(listdata._$152584771);
        linearLayoutsList.add(new Viewbean(paidian0lin, paidian0, paidian0s, "跨度", "152584776"));
        linearLayoutsList.add(new Viewbean(paidian1lin, paidian1, paidian1s, "跨度", "152584775"));
        linearLayoutsList.add(new Viewbean(paidian2lin, paidian2, paidian2s, "跨度", "152584774"));
        linearLayoutsList.add(new Viewbean(paidian3lin, paidian3, paidian3s, "跨度", "152584773"));
        linearLayoutsList.add(new Viewbean(paidian4lin, paidian4, paidian4s, "跨度", "152584772"));
        linearLayoutsList.add(new Viewbean(paidian5lin, paidian5, paidian5s, "跨度", "152584771"));

        //不出号码
        buchuhaoma1.setText(listdata._$152604752);
        buchuhaoma2.setText(listdata._$152604751);
        buchuhaoma3.setText(listdata._$152604750);
        buchuhaoma4.setText(listdata._$152604749);
        buchuhaoma5.setText(listdata._$152604748);
        buchuhaoma6.setText(listdata._$152604747);
        linearLayoutsList.add(new Viewbean(buchuhaoma1lin, haoma1, buchuhaoma1, "不出号码", "152604752"));
        linearLayoutsList.add(new Viewbean(buchuhaoma2lin, haoma2, buchuhaoma2, "不出号码", "152604751"));
        linearLayoutsList.add(new Viewbean(buchuhaoma3lin, haoma3, buchuhaoma3, "不出号码", "152604750"));
        linearLayoutsList.add(new Viewbean(buchuhaoma4lin, haoma4, buchuhaoma4, "不出号码", "152604749"));
        linearLayoutsList.add(new Viewbean(buchuhaoma5lin, haoma5, buchuhaoma5, "不出号码", "152604748"));
        linearLayoutsList.add(new Viewbean(buchuhaoma6lin, haoma6, buchuhaoma6, "不出号码", "152604747"));

        //必出号码
        bichuhaoma1.setText(listdata._$152614746);
        bichuhaoma2.setText(listdata._$152614745);
        bichuhaoma3.setText(listdata._$152614744);
        bichuhaoma4.setText(listdata._$152614743);
        bichuhaoma5.setText(listdata._$152614742);
        bichuhaoma6.setText(listdata._$152614741);
        linearLayoutsList.add(new Viewbean(bichuhaoma1lin, haoma1, bichuhaoma1, "必出号码", "152614746"));
        linearLayoutsList.add(new Viewbean(bichuhaoma2lin, haoma2, bichuhaoma2, "必出号码", "152614745"));
        linearLayoutsList.add(new Viewbean(bichuhaoma3lin, haoma3, bichuhaoma3, "必出号码", "152614744"));
        linearLayoutsList.add(new Viewbean(bichuhaoma4lin, haoma4, bichuhaoma4, "必出号码", "152614743"));
        linearLayoutsList.add(new Viewbean(bichuhaoma5lin, haoma5, bichuhaoma5, "必出号码", "152614742"));
        linearLayoutsList.add(new Viewbean(bichuhaoma6lin, haoma6, bichuhaoma6, "必出号码", "152614741"));
        textcolorlist();
    }

    /**
     * 甘肃快三
     */
    public void setgansukuaisan(Resgansuk3.DataBean listdata) {

        //和值
        hezhidas.setText(listdata._$162624872);
        hezhixiaos.setText(listdata._$162624871);
        hezhidans.setText(listdata._$162624870);
        hezhishuangs.setText(listdata._$162624869);
        linearLayoutsList.add(new Viewbean(hezhidalin, hezhida, hezhidas, "和值", "162624872"));
        linearLayoutsList.add(new Viewbean(hezhixiaolin, hezhixiao, hezhixiaos, "和值", "162624871"));
        linearLayoutsList.add(new Viewbean(hezhidanlin, hezhidan, hezhidans, "和值", "162624870"));
        linearLayoutsList.add(new Viewbean(hezhishuanglin, hezhishuang, hezhishuangs, "和值", "162624869"));

        hezhi3s.setText(listdata._$162624888);
        hezhi4s.setText(listdata._$162624887);
        hezhi5s.setText(listdata._$162624886);
        hezhi6s.setText(listdata._$162624885);
        hezhi7s.setText(listdata._$162624884);
        hezhi8s.setText(listdata._$162624883);
        hezhi9s.setText(listdata._$162624882);
        hezhi10s.setText(listdata._$162624881);
        hezhi11s.setText(listdata._$162624880);
        hezhi12s.setText(listdata._$162624879);
        hezhi13s.setText(listdata._$162624878);
        hezhi14s.setText(listdata._$162624877);
        hezhi15s.setText(listdata._$162624876);
        hezhi16s.setText(listdata._$162624875);
        hezhi17s.setText(listdata._$162624874);
        hezhi18s.setText(listdata._$162624873);
        linearLayoutsList.add(new Viewbean(hezhi3lin, hezhi3, hezhi3s, "和值", "162624888"));
        linearLayoutsList.add(new Viewbean(hezhi4lin, hezhi4, hezhi4s, "和值", "162624887"));
        linearLayoutsList.add(new Viewbean(hezhi5lin, hezhi5, hezhi5s, "和值", "162624886"));
        linearLayoutsList.add(new Viewbean(hezhi6lin, hezhi6, hezhi6s, "和值", "162624885"));
        linearLayoutsList.add(new Viewbean(hezhi7lin, hezhi7, hezhi7s, "和值", "162624884"));
        linearLayoutsList.add(new Viewbean(hezhi8lin, hezhi8, hezhi8s, "和值", "162624883"));
        linearLayoutsList.add(new Viewbean(hezhi9lin, hezhi9, hezhi9s, "和值", "162624882"));
        linearLayoutsList.add(new Viewbean(hezhi10lin, hezhi10, hezhi10s, "和值", "162624881"));
        linearLayoutsList.add(new Viewbean(hezhi11lin, hezhi11, hezhi11s, "和值", "162624880"));
        linearLayoutsList.add(new Viewbean(hezhi12lin, hezhi12, hezhi12s, "和值", "162624879"));
        linearLayoutsList.add(new Viewbean(hezhi13lin, hezhi13, hezhi13s, "和值", "162624878"));
        linearLayoutsList.add(new Viewbean(hezhi14lin, hezhi14, hezhi14s, "和值", "162624877"));
        linearLayoutsList.add(new Viewbean(hezhi15lin, hezhi15, hezhi15s, "和值", "162624876"));
        linearLayoutsList.add(new Viewbean(hezhi16lin, hezhi16, hezhi16s, "和值", "162624875"));
        linearLayoutsList.add(new Viewbean(hezhi17lin, hezhi17, hezhi17s, "和值", "162624874"));
        linearLayoutsList.add(new Viewbean(hezhi18lin, hezhi18, hezhi18s, "和值", "162624873"));

        //三连
        sanlian1.setText(listdata._$162634868);
        sanlian2.setText(listdata._$162634867);
        sanlian3.setText(listdata._$162634866);
        sanlian4.setText(listdata._$162634865);
        sanliandibu.setText(listdata._$162634864);
        linearLayoutsList.add(new Viewbean(sanlian1lin, sanlian123, sanlian1, "三连号", "162634868"));
        linearLayoutsList.add(new Viewbean(sanlian2lin, sanlian234, sanlian2, "三连号", "162634867"));
        linearLayoutsList.add(new Viewbean(sanlian3lin, sanlian345, sanlian3, "三连号", "162634866"));
        linearLayoutsList.add(new Viewbean(sanlian4lin, sanlian456, sanlian4, "三连号", "162634865"));
        linearLayoutsList.add(new Viewbean(sanliandibulin, sanliandibu, sanliandibu, "三连号", "162634864"));

        //三同
        santong1.setText(listdata._$162644863);
        santong2.setText(listdata._$162644862);
        santong3.setText(listdata._$162644861);
        santong4.setText(listdata._$162644860);
        santong5.setText(listdata._$162644859);
        santong6.setText(listdata._$162644858);
        santongdibus.setText(listdata._$162644857);
        linearLayoutsList.add(new Viewbean(santong1lin, santong111, santong1, "三同号", "162644863"));
        linearLayoutsList.add(new Viewbean(santong2lin, santong222, santong2, "三同号", "162644862"));
        linearLayoutsList.add(new Viewbean(santong3lin, santong333, santong3, "三同号", "162644861"));
        linearLayoutsList.add(new Viewbean(santong4lin, santong444, santong4, "三同号", "162644860"));
        linearLayoutsList.add(new Viewbean(santong5lin, santong555, santong5, "三同号", "162644859"));
        linearLayoutsList.add(new Viewbean(santong6lin, santong666, santong6, "三同号", "162644858"));
        linearLayoutsList.add(new Viewbean(santongdibulin, santongdibu, santongdibus, "三同号", "162644857"));

        //二同
        ertong1.setText(listdata._$162654856);
        ertong2.setText(listdata._$162654855);
        ertong3.setText(listdata._$162654854);
        ertong4.setText(listdata._$162654853);
        ertong5.setText(listdata._$162654852);
        ertong6.setText(listdata._$162654851);
        linearLayoutsList.add(new Viewbean(ertong1lin, ertong11, ertong1, "二同号", "162654856"));
        linearLayoutsList.add(new Viewbean(ertong2lin, ertong22, ertong2, "二同号", "162654855"));
        linearLayoutsList.add(new Viewbean(ertong3lin, ertong33, ertong3, "二同号", "162654854"));
        linearLayoutsList.add(new Viewbean(ertong4lin, ertong44, ertong4, "二同号", "162654853"));
        linearLayoutsList.add(new Viewbean(ertong5lin, ertong55, ertong5, "二同号", "162654852"));
        linearLayoutsList.add(new Viewbean(ertong6lin, ertong66, ertong6, "二同号", "162654851"));

        //牌点（和跨度反了）
        kuadudas.setText(listdata._$162674830);
        kuaduxiaos.setText(listdata._$162674829);
        kuadudans.setText(listdata._$162674828);
        kuadushuangs.setText(listdata._$162674827);
        linearLayoutsList.add(new Viewbean(kuadudalin, kuaduda, kuadudas, "牌点", "162674830"));
        linearLayoutsList.add(new Viewbean(kuaduxiaolin, kuaduxiao, kuaduxiaos, "牌点", "162674829"));
        linearLayoutsList.add(new Viewbean(kuadudanlin, kuadudan, kuadudans, "牌点", "162674828"));
        linearLayoutsList.add(new Viewbean(kuadushuanglin, kuadushuang, kuadushuangs, "牌点", "162674827"));

        kuadu1s.setText(listdata._$162674840);
        kuadu2s.setText(listdata._$162674839);
        kuadu3s.setText(listdata._$162674838);
        kuadu4s.setText(listdata._$162674837);
        kuadu5s.setText(listdata._$162674836);
        kuadu6s.setText(listdata._$162674835);
        kuadu7s.setText(listdata._$162674834);
        kuadu8s.setText(listdata._$162674833);
        kuadu9s.setText(listdata._$162674832);
        kuadu10s.setText(listdata._$162674831);
        linearLayoutsList.add(new Viewbean(kuadu1lin, kuadu1, kuadu1s, "牌点", "162674840"));
        linearLayoutsList.add(new Viewbean(kuadu2lin, kuadu2, kuadu2s, "牌点", "162674839"));
        linearLayoutsList.add(new Viewbean(kuadu3lin, kuadu3, kuadu3s, "牌点", "162674838"));
        linearLayoutsList.add(new Viewbean(kuadu4lin, kuadu4, kuadu4s, "牌点", "162674837"));
        linearLayoutsList.add(new Viewbean(kuadu5lin, kuadu5, kuadu5s, "牌点", "162674836"));
        linearLayoutsList.add(new Viewbean(kuadu6lin, kuadu6, kuadu6s, "牌点", "162674835"));
        linearLayoutsList.add(new Viewbean(kuadu7lin, kuadu7, kuadu7s, "牌点", "162674834"));
        linearLayoutsList.add(new Viewbean(kuadu8lin, kuadu8, kuadu8s, "牌点", "162674833"));
        linearLayoutsList.add(new Viewbean(kuadu9lin, kuadu9, kuadu9s, "牌点", "162674832"));
        linearLayoutsList.add(new Viewbean(kuadu10lin, kuadu10, kuadu10s, "牌点", "162674831"));

        //跨度
        paidiandas.setText(listdata._$162664844);
        paidianxiaos.setText(listdata._$162664843);
        paidiandans.setText(listdata._$162664842);
        paidianshuangs.setText(listdata._$162664841);
        linearLayoutsList.add(new Viewbean(paidiandalin, paidianda, paidiandas, "跨度", "162664844"));
        linearLayoutsList.add(new Viewbean(paidianxiaolin, paidianxiao, paidianxiaos, "跨度", "162664843"));
        linearLayoutsList.add(new Viewbean(paidiandanlin, paidiandan, paidiandans, "跨度", "162664842"));
        linearLayoutsList.add(new Viewbean(paidianshuanglin, paidianshuang, paidianshuangs, "跨度", "162664841"));

        paidian0s.setText(listdata._$162664850);
        paidian1s.setText(listdata._$162664849);
        paidian2s.setText(listdata._$162664848);
        paidian3s.setText(listdata._$162664847);
        paidian4s.setText(listdata._$162664846);
        paidian5s.setText(listdata._$162664845);
        linearLayoutsList.add(new Viewbean(paidian0lin, paidian0, paidian0s, "跨度", "162664850"));
        linearLayoutsList.add(new Viewbean(paidian1lin, paidian1, paidian1s, "跨度", "162664849"));
        linearLayoutsList.add(new Viewbean(paidian2lin, paidian2, paidian2s, "跨度", "162664848"));
        linearLayoutsList.add(new Viewbean(paidian3lin, paidian3, paidian3s, "跨度", "162664847"));
        linearLayoutsList.add(new Viewbean(paidian4lin, paidian4, paidian4s, "跨度", "162664846"));
        linearLayoutsList.add(new Viewbean(paidian5lin, paidian5, paidian5s, "跨度", "162664845"));

        //不出号码
        buchuhaoma1.setText(listdata._$162684826);
        buchuhaoma2.setText(listdata._$162684825);
        buchuhaoma3.setText(listdata._$162684824);
        buchuhaoma4.setText(listdata._$162684823);
        buchuhaoma5.setText(listdata._$162684822);
        buchuhaoma6.setText(listdata._$162684821);
        linearLayoutsList.add(new Viewbean(buchuhaoma1lin, haoma1, buchuhaoma1, "不出号码", "162684826"));
        linearLayoutsList.add(new Viewbean(buchuhaoma2lin, haoma2, buchuhaoma2, "不出号码", "162684825"));
        linearLayoutsList.add(new Viewbean(buchuhaoma3lin, haoma3, buchuhaoma3, "不出号码", "162684824"));
        linearLayoutsList.add(new Viewbean(buchuhaoma4lin, haoma4, buchuhaoma4, "不出号码", "162684823"));
        linearLayoutsList.add(new Viewbean(buchuhaoma5lin, haoma5, buchuhaoma5, "不出号码", "162684822"));
        linearLayoutsList.add(new Viewbean(buchuhaoma6lin, haoma6, buchuhaoma6, "不出号码", "162684821"));

        //必出号码
        bichuhaoma1.setText(listdata._$162694820);
        bichuhaoma2.setText(listdata._$162694819);
        bichuhaoma3.setText(listdata._$162694818);
        bichuhaoma4.setText(listdata._$162694817);
        bichuhaoma5.setText(listdata._$162694816);
        bichuhaoma6.setText(listdata._$162694815);
        linearLayoutsList.add(new Viewbean(bichuhaoma1lin, haoma1, bichuhaoma1, "必出号码", "162694820"));
        linearLayoutsList.add(new Viewbean(bichuhaoma2lin, haoma2, bichuhaoma2, "必出号码", "162694819"));
        linearLayoutsList.add(new Viewbean(bichuhaoma3lin, haoma3, bichuhaoma3, "必出号码", "162694818"));
        linearLayoutsList.add(new Viewbean(bichuhaoma4lin, haoma4, bichuhaoma4, "必出号码", "162694817"));
        linearLayoutsList.add(new Viewbean(bichuhaoma5lin, haoma5, bichuhaoma5, "必出号码", "162694816"));
        linearLayoutsList.add(new Viewbean(bichuhaoma6lin, haoma6, bichuhaoma6, "必出号码", "162694815"));
        textcolorlist();
    }

    /**
     * 广西快三
     */
    public void setguangxikuaisan(Resguangxik3.DataBean listdata) {
        //和值
        hezhidas.setText(listdata._$122384484);
        hezhixiaos.setText(listdata._$122384483);
        hezhidans.setText(listdata._$122384482);
        hezhishuangs.setText(listdata._$122384481);
        linearLayoutsList.add(new Viewbean(hezhidalin, hezhida, hezhidas, "和值", "122384484"));
        linearLayoutsList.add(new Viewbean(hezhixiaolin, hezhixiao, hezhixiaos, "和值", "122384483"));
        linearLayoutsList.add(new Viewbean(hezhidanlin, hezhidan, hezhidans, "和值", "122384482"));
        linearLayoutsList.add(new Viewbean(hezhishuanglin, hezhishuang, hezhishuangs, "和值", "122384481"));

        hezhi3s.setText(listdata._$122384500);
        hezhi4s.setText(listdata._$122384499);
        hezhi5s.setText(listdata._$122384498);
        hezhi6s.setText(listdata._$122384497);
        hezhi7s.setText(listdata._$122384496);
        hezhi8s.setText(listdata._$122384495);
        hezhi9s.setText(listdata._$122384494);
        hezhi10s.setText(listdata._$122384493);
        hezhi11s.setText(listdata._$122384492);
        hezhi12s.setText(listdata._$122384491);
        hezhi13s.setText(listdata._$122384490);
        hezhi14s.setText(listdata._$122384489);
        hezhi15s.setText(listdata._$122384488);
        hezhi16s.setText(listdata._$122384487);
        hezhi17s.setText(listdata._$122384486);
        hezhi18s.setText(listdata._$122384485);
        linearLayoutsList.add(new Viewbean(hezhi3lin, hezhi3, hezhi3s, "和值", "122384500"));
        linearLayoutsList.add(new Viewbean(hezhi4lin, hezhi4, hezhi4s, "和值", "122384499"));
        linearLayoutsList.add(new Viewbean(hezhi5lin, hezhi5, hezhi5s, "和值", "122384498"));
        linearLayoutsList.add(new Viewbean(hezhi6lin, hezhi6, hezhi6s, "和值", "122384497"));
        linearLayoutsList.add(new Viewbean(hezhi7lin, hezhi7, hezhi7s, "和值", "122384496"));
        linearLayoutsList.add(new Viewbean(hezhi8lin, hezhi8, hezhi8s, "和值", "122384495"));
        linearLayoutsList.add(new Viewbean(hezhi9lin, hezhi9, hezhi9s, "和值", "122384494"));
        linearLayoutsList.add(new Viewbean(hezhi10lin, hezhi10, hezhi10s, "和值", "122384493"));
        linearLayoutsList.add(new Viewbean(hezhi11lin, hezhi11, hezhi11s, "和值", "122384492"));
        linearLayoutsList.add(new Viewbean(hezhi12lin, hezhi12, hezhi12s, "和值", "122384491"));
        linearLayoutsList.add(new Viewbean(hezhi13lin, hezhi13, hezhi13s, "和值", "122384490"));
        linearLayoutsList.add(new Viewbean(hezhi14lin, hezhi14, hezhi14s, "和值", "122384489"));
        linearLayoutsList.add(new Viewbean(hezhi15lin, hezhi15, hezhi15s, "和值", "122384488"));
        linearLayoutsList.add(new Viewbean(hezhi16lin, hezhi16, hezhi16s, "和值", "122384487"));
        linearLayoutsList.add(new Viewbean(hezhi17lin, hezhi17, hezhi17s, "和值", "122384486"));
        linearLayoutsList.add(new Viewbean(hezhi18lin, hezhi18, hezhi18s, "和值", "122384485"));

        //三连
        sanlian1.setText(listdata._$122394480);
        sanlian2.setText(listdata._$122394479);
        sanlian3.setText(listdata._$122394478);
        sanlian4.setText(listdata._$122394477);
        sanliandibus.setText(listdata._$122394476);
        linearLayoutsList.add(new Viewbean(sanlian1lin, sanlian123, sanlian1, "三连号", "122394480"));
        linearLayoutsList.add(new Viewbean(sanlian2lin, sanlian234, sanlian2, "三连号", "122394479"));
        linearLayoutsList.add(new Viewbean(sanlian3lin, sanlian345, sanlian3, "三连号", "122394478"));
        linearLayoutsList.add(new Viewbean(sanlian4lin, sanlian456, sanlian4, "三连号", "122394477"));
        linearLayoutsList.add(new Viewbean(sanliandibulin, sanliandibu, sanliandibus, "三连号", "122394476"));

        //三同
        santong1.setText(listdata._$122404475);
        santong2.setText(listdata._$122404474);
        santong3.setText(listdata._$122404473);
        santong4.setText(listdata._$122404472);
        santong5.setText(listdata._$122404471);
        santong6.setText(listdata._$122404470);
        santongdibus.setText(listdata._$122404469);
        linearLayoutsList.add(new Viewbean(santong1lin, santong111, santong1, "三同号", "122404475"));
        linearLayoutsList.add(new Viewbean(santong2lin, santong222, santong2, "三同号", "122404474"));
        linearLayoutsList.add(new Viewbean(santong3lin, santong333, santong3, "三同号", "122404473"));
        linearLayoutsList.add(new Viewbean(santong4lin, santong444, santong4, "三同号", "122404472"));
        linearLayoutsList.add(new Viewbean(santong5lin, santong555, santong5, "三同号", "122404471"));
        linearLayoutsList.add(new Viewbean(santong6lin, santong666, santong6, "三同号", "122404470"));
        linearLayoutsList.add(new Viewbean(santongdibulin, santongdibu, santongdibus, "三同号", "122404469"));

        //二同
        ertong1.setText(listdata._$122414468);
        ertong2.setText(listdata._$122414467);
        ertong3.setText(listdata._$122414466);
        ertong4.setText(listdata._$122414465);
        ertong5.setText(listdata._$122414464);
        ertong6.setText(listdata._$122414463);
        linearLayoutsList.add(new Viewbean(ertong1lin, ertong11, ertong1, "二同号", "122414468"));
        linearLayoutsList.add(new Viewbean(ertong2lin, ertong22, ertong2, "二同号", "122414467"));
        linearLayoutsList.add(new Viewbean(ertong3lin, ertong33, ertong3, "二同号", "122414466"));
        linearLayoutsList.add(new Viewbean(ertong4lin, ertong44, ertong4, "二同号", "122414465"));
        linearLayoutsList.add(new Viewbean(ertong5lin, ertong55, ertong5, "二同号", "122414464"));
        linearLayoutsList.add(new Viewbean(ertong6lin, ertong66, ertong6, "二同号", "122414463"));

        //牌点（和跨度反了）
        kuadudas.setText(listdata._$122434442);
        kuaduxiaos.setText(listdata._$122434441);
        kuadudans.setText(listdata._$122434440);
        kuadushuangs.setText(listdata._$122434439);
        linearLayoutsList.add(new Viewbean(kuadudalin, kuaduda, kuadudas, "牌点", "122434442"));
        linearLayoutsList.add(new Viewbean(kuaduxiaolin, kuaduxiao, kuaduxiaos, "牌点", "122434441"));
        linearLayoutsList.add(new Viewbean(kuadudanlin, kuadudan, kuadudans, "牌点", "122434440"));
        linearLayoutsList.add(new Viewbean(kuadushuanglin, kuadushuang, kuadushuangs, "牌点", "122434439"));

        kuadu1s.setText(listdata._$122434452);
        kuadu2s.setText(listdata._$122434451);
        kuadu3s.setText(listdata._$122434450);
        kuadu4s.setText(listdata._$122434449);
        kuadu5s.setText(listdata._$122434448);
        kuadu6s.setText(listdata._$122434447);
        kuadu7s.setText(listdata._$122434446);
        kuadu8s.setText(listdata._$122434445);
        kuadu9s.setText(listdata._$122434444);
        kuadu10s.setText(listdata._$122434443);
        linearLayoutsList.add(new Viewbean(kuadu1lin, kuadu1, kuadu1s, "牌点", "122434452"));
        linearLayoutsList.add(new Viewbean(kuadu2lin, kuadu2, kuadu2s, "牌点", "122434451"));
        linearLayoutsList.add(new Viewbean(kuadu3lin, kuadu3, kuadu3s, "牌点", "122434450"));
        linearLayoutsList.add(new Viewbean(kuadu4lin, kuadu4, kuadu4s, "牌点", "122434449"));
        linearLayoutsList.add(new Viewbean(kuadu5lin, kuadu5, kuadu5s, "牌点", "122434448"));
        linearLayoutsList.add(new Viewbean(kuadu6lin, kuadu6, kuadu6s, "牌点", "122434447"));
        linearLayoutsList.add(new Viewbean(kuadu7lin, kuadu7, kuadu7s, "牌点", "122434446"));
        linearLayoutsList.add(new Viewbean(kuadu8lin, kuadu8, kuadu8s, "牌点", "122434445"));
        linearLayoutsList.add(new Viewbean(kuadu9lin, kuadu9, kuadu9s, "牌点", "122434444"));
        linearLayoutsList.add(new Viewbean(kuadu10lin, kuadu10, kuadu10s, "牌点", "122434443"));

        //跨度
        paidiandas.setText(listdata._$122424456);
        paidianxiaos.setText(listdata._$122424455);
        paidiandans.setText(listdata._$122424454);
        paidianshuangs.setText(listdata._$122424453);
        linearLayoutsList.add(new Viewbean(paidiandalin, paidianda, paidiandas, "跨度", "122424456"));
        linearLayoutsList.add(new Viewbean(paidianxiaolin, paidianxiao, paidianxiaos, "跨度", "122424455"));
        linearLayoutsList.add(new Viewbean(paidiandanlin, paidiandan, paidiandans, "跨度", "122424454"));
        linearLayoutsList.add(new Viewbean(paidianshuanglin, paidianshuang, paidianshuangs, "跨度", "122424453"));

        paidian0s.setText(listdata._$122424462);
        paidian1s.setText(listdata._$122424461);
        paidian2s.setText(listdata._$122424460);
        paidian3s.setText(listdata._$122424459);
        paidian4s.setText(listdata._$122424458);
        paidian5s.setText(listdata._$122424457);
        linearLayoutsList.add(new Viewbean(paidian0lin, paidian0, paidian0s, "跨度", "122424462"));
        linearLayoutsList.add(new Viewbean(paidian1lin, paidian1, paidian1s, "跨度", "122424461"));
        linearLayoutsList.add(new Viewbean(paidian2lin, paidian2, paidian2s, "跨度", "122424460"));
        linearLayoutsList.add(new Viewbean(paidian3lin, paidian3, paidian3s, "跨度", "122424459"));
        linearLayoutsList.add(new Viewbean(paidian4lin, paidian4, paidian4s, "跨度", "122424458"));
        linearLayoutsList.add(new Viewbean(paidian5lin, paidian5, paidian5s, "跨度", "122424457"));

        //不出号码
        buchuhaoma1.setText(listdata._$122444438);
        buchuhaoma2.setText(listdata._$122444437);
        buchuhaoma3.setText(listdata._$122444436);
        buchuhaoma4.setText(listdata._$122444435);
        buchuhaoma5.setText(listdata._$122444434);
        buchuhaoma6.setText(listdata._$122444433);
        linearLayoutsList.add(new Viewbean(buchuhaoma1lin, haoma1, buchuhaoma1, "不出号码", "122444438"));
        linearLayoutsList.add(new Viewbean(buchuhaoma2lin, haoma2, buchuhaoma2, "不出号码", "122444437"));
        linearLayoutsList.add(new Viewbean(buchuhaoma3lin, haoma3, buchuhaoma3, "不出号码", "122444436"));
        linearLayoutsList.add(new Viewbean(buchuhaoma4lin, haoma4, buchuhaoma4, "不出号码", "122444435"));
        linearLayoutsList.add(new Viewbean(buchuhaoma5lin, haoma5, buchuhaoma5, "不出号码", "122444434"));
        linearLayoutsList.add(new Viewbean(buchuhaoma6lin, haoma6, buchuhaoma6, "不出号码", "122444433"));

        //必出号码
        bichuhaoma1.setText(listdata._$122454432);
        bichuhaoma2.setText(listdata._$122454431);
        bichuhaoma3.setText(listdata._$122454430);
        bichuhaoma4.setText(listdata._$122454429);
        bichuhaoma5.setText(listdata._$122454428);
        bichuhaoma6.setText(listdata._$122454427);
        linearLayoutsList.add(new Viewbean(bichuhaoma1lin, haoma1, bichuhaoma1, "必出号码", "122454432"));
        linearLayoutsList.add(new Viewbean(bichuhaoma2lin, haoma2, bichuhaoma2, "必出号码", "122454431"));
        linearLayoutsList.add(new Viewbean(bichuhaoma3lin, haoma3, bichuhaoma3, "必出号码", "122454430"));
        linearLayoutsList.add(new Viewbean(bichuhaoma4lin, haoma4, bichuhaoma4, "必出号码", "122454429"));
        linearLayoutsList.add(new Viewbean(bichuhaoma5lin, haoma5, bichuhaoma5, "必出号码", "122454428"));
        linearLayoutsList.add(new Viewbean(bichuhaoma6lin, haoma6, bichuhaoma6, "必出号码", "122454427"));
        textcolorlist();
    }

    /**
     * 湖北快三
     *
     * @param listdata
     */
    public void setdahubeikuaisan(Reshubeik3.DataBean listdata) {
        //和值132224558
        hezhidas.setText(listdata._$132224558);
        hezhixiaos.setText(listdata._$132224557);
        hezhidans.setText(listdata._$132224556);
        hezhishuangs.setText(listdata._$132224555);
        linearLayoutsList.add(new Viewbean(hezhidalin, hezhida, hezhidas, "和值", "132224558"));
        linearLayoutsList.add(new Viewbean(hezhixiaolin, hezhixiao, hezhixiaos, "和值", "132224557"));
        linearLayoutsList.add(new Viewbean(hezhidanlin, hezhidan, hezhidans, "和值", "132224556"));
        linearLayoutsList.add(new Viewbean(hezhishuanglin, hezhishuang, hezhishuangs, "和值", "132224555"));

        hezhi3s.setText(listdata._$132224574);
        hezhi4s.setText(listdata._$132224573);
        hezhi5s.setText(listdata._$132224572);
        hezhi6s.setText(listdata._$132224571);
        hezhi7s.setText(listdata._$132224570);
        hezhi8s.setText(listdata._$132224569);
        hezhi9s.setText(listdata._$132224568);
        hezhi10s.setText(listdata._$132224567);
        hezhi11s.setText(listdata._$132224566);
        hezhi12s.setText(listdata._$132224565);
        hezhi13s.setText(listdata._$132224564);
        hezhi14s.setText(listdata._$132224563);
        hezhi15s.setText(listdata._$132224562);
        hezhi16s.setText(listdata._$132224561);
        hezhi17s.setText(listdata._$132224560);
        hezhi18s.setText(listdata._$132224559);
        linearLayoutsList.add(new Viewbean(hezhi3lin, hezhi3, hezhi3s, "和值", "132224574"));
        linearLayoutsList.add(new Viewbean(hezhi4lin, hezhi4, hezhi4s, "和值", "132224573"));
        linearLayoutsList.add(new Viewbean(hezhi5lin, hezhi5, hezhi5s, "和值", "132224572"));
        linearLayoutsList.add(new Viewbean(hezhi6lin, hezhi6, hezhi6s, "和值", "132224571"));
        linearLayoutsList.add(new Viewbean(hezhi7lin, hezhi7, hezhi7s, "和值", "132224570"));
        linearLayoutsList.add(new Viewbean(hezhi8lin, hezhi8, hezhi8s, "和值", "132224569"));
        linearLayoutsList.add(new Viewbean(hezhi9lin, hezhi9, hezhi9s, "和值", "132224568"));
        linearLayoutsList.add(new Viewbean(hezhi10lin, hezhi10, hezhi10s, "和值", "132224567"));
        linearLayoutsList.add(new Viewbean(hezhi11lin, hezhi11, hezhi11s, "和值", "132224566"));
        linearLayoutsList.add(new Viewbean(hezhi12lin, hezhi12, hezhi12s, "和值", "132224565"));
        linearLayoutsList.add(new Viewbean(hezhi13lin, hezhi13, hezhi13s, "和值", "132224564"));
        linearLayoutsList.add(new Viewbean(hezhi14lin, hezhi14, hezhi14s, "和值", "132224563"));
        linearLayoutsList.add(new Viewbean(hezhi15lin, hezhi15, hezhi15s, "和值", "132224562"));
        linearLayoutsList.add(new Viewbean(hezhi16lin, hezhi16, hezhi16s, "和值", "132224561"));
        linearLayoutsList.add(new Viewbean(hezhi17lin, hezhi17, hezhi17s, "和值", "132224560"));
        linearLayoutsList.add(new Viewbean(hezhi18lin, hezhi18, hezhi18s, "和值", "132224559"));

        //三连
        sanlian1.setText(listdata._$132234554);
        sanlian2.setText(listdata._$132234553);
        sanlian3.setText(listdata._$132234552);
        sanlian4.setText(listdata._$132234551);
        sanliandibus.setText(listdata._$132234550);
        linearLayoutsList.add(new Viewbean(sanlian1lin, sanlian123, sanlian1, "三连号", "132234554"));
        linearLayoutsList.add(new Viewbean(sanlian2lin, sanlian234, sanlian2, "三连号", "132234553"));
        linearLayoutsList.add(new Viewbean(sanlian3lin, sanlian345, sanlian3, "三连号", "132234552"));
        linearLayoutsList.add(new Viewbean(sanlian4lin, sanlian456, sanlian4, "三连号", "132234551"));
        linearLayoutsList.add(new Viewbean(sanliandibulin, sanliandibu, sanliandibus, "三连号", "132234550"));

        //三同
        santong1.setText(listdata._$132244549);
        santong2.setText(listdata._$132244548);
        santong3.setText(listdata._$132244547);
        santong4.setText(listdata._$132244546);
        santong5.setText(listdata._$132244545);
        santong6.setText(listdata._$132244544);
        santongdibus.setText(listdata._$132244543);
        linearLayoutsList.add(new Viewbean(santong1lin, santong111, santong1, "三同号", "132244549"));
        linearLayoutsList.add(new Viewbean(santong2lin, santong222, santong2, "三同号", "132244548"));
        linearLayoutsList.add(new Viewbean(santong3lin, santong333, santong3, "三同号", "132244547"));
        linearLayoutsList.add(new Viewbean(santong4lin, santong444, santong4, "三同号", "132244546"));
        linearLayoutsList.add(new Viewbean(santong5lin, santong555, santong5, "三同号", "132244545"));
        linearLayoutsList.add(new Viewbean(santong6lin, santong666, santong6, "三同号", "132244544"));
        linearLayoutsList.add(new Viewbean(santongdibulin, santongdibu, santongdibus, "三同号", "132244543"));

        //二同
        ertong1.setText(listdata._$132254542);
        ertong2.setText(listdata._$132254541);
        ertong3.setText(listdata._$132254540);
        ertong4.setText(listdata._$132254539);
        ertong5.setText(listdata._$132254538);
        ertong6.setText(listdata._$132254537);
        linearLayoutsList.add(new Viewbean(ertong1lin, ertong11, ertong1, "二同号", "132254542"));
        linearLayoutsList.add(new Viewbean(ertong2lin, ertong22, ertong2, "二同号", "132254541"));
        linearLayoutsList.add(new Viewbean(ertong3lin, ertong33, ertong3, "二同号", "132254540"));
        linearLayoutsList.add(new Viewbean(ertong4lin, ertong44, ertong4, "二同号", "132254539"));
        linearLayoutsList.add(new Viewbean(ertong5lin, ertong55, ertong5, "二同号", "132254538"));
        linearLayoutsList.add(new Viewbean(ertong6lin, ertong66, ertong6, "二同号", "132254537"));

        //牌点（和跨度反了）
        kuadudas.setText(listdata._$132274516);
        kuaduxiaos.setText(listdata._$132274515);
        kuadudans.setText(listdata._$132274514);
        kuadushuangs.setText(listdata._$132274513);
        linearLayoutsList.add(new Viewbean(kuadudalin, kuaduda, kuadudas, "牌点", "132274516"));
        linearLayoutsList.add(new Viewbean(kuaduxiaolin, kuaduxiao, kuaduxiaos, "牌点", "132274515"));
        linearLayoutsList.add(new Viewbean(kuadudanlin, kuadudan, kuadudans, "牌点", "132274514"));
        linearLayoutsList.add(new Viewbean(kuadushuanglin, kuadushuang, kuadushuangs, "牌点", "132274513"));

        kuadu1s.setText(listdata._$132274526);
        kuadu2s.setText(listdata._$132274525);
        kuadu3s.setText(listdata._$132274524);
        kuadu4s.setText(listdata._$132274523);
        kuadu5s.setText(listdata._$132274522);
        kuadu6s.setText(listdata._$132274521);
        kuadu7s.setText(listdata._$132274520);
        kuadu8s.setText(listdata._$132274519);
        kuadu9s.setText(listdata._$132274518);
        kuadu10s.setText(listdata._$132274517);
        linearLayoutsList.add(new Viewbean(kuadu1lin, kuadu1, kuadu1s, "牌点", "132274526"));
        linearLayoutsList.add(new Viewbean(kuadu2lin, kuadu2, kuadu2s, "牌点", "132274525"));
        linearLayoutsList.add(new Viewbean(kuadu3lin, kuadu3, kuadu3s, "牌点", "132274524"));
        linearLayoutsList.add(new Viewbean(kuadu4lin, kuadu4, kuadu4s, "牌点", "132274523"));
        linearLayoutsList.add(new Viewbean(kuadu5lin, kuadu5, kuadu5s, "牌点", "132274522"));
        linearLayoutsList.add(new Viewbean(kuadu6lin, kuadu6, kuadu6s, "牌点", "132274521"));
        linearLayoutsList.add(new Viewbean(kuadu7lin, kuadu7, kuadu7s, "牌点", "132274520"));
        linearLayoutsList.add(new Viewbean(kuadu8lin, kuadu8, kuadu8s, "牌点", "132274519"));
        linearLayoutsList.add(new Viewbean(kuadu9lin, kuadu9, kuadu9s, "牌点", "132274518"));
        linearLayoutsList.add(new Viewbean(kuadu10lin, kuadu10, kuadu10s, "牌点", "132274517"));

        //跨度
        paidiandas.setText(listdata._$132264530);
        paidianxiaos.setText(listdata._$132264529);
        paidiandans.setText(listdata._$132264528);
        paidianshuangs.setText(listdata._$132264527);
        linearLayoutsList.add(new Viewbean(paidiandalin, paidianda, paidiandas, "跨度", "132264530"));
        linearLayoutsList.add(new Viewbean(paidianxiaolin, paidianxiao, paidianxiaos, "跨度", "132264529"));
        linearLayoutsList.add(new Viewbean(paidiandanlin, paidiandan, paidiandans, "跨度", "132264528"));
        linearLayoutsList.add(new Viewbean(paidianshuanglin, paidianshuang, paidianshuangs, "跨度", "132264527"));

        paidian0s.setText(listdata._$132264536);
        paidian1s.setText(listdata._$132264535);
        paidian2s.setText(listdata._$132264534);
        paidian3s.setText(listdata._$132264533);
        paidian4s.setText(listdata._$132264532);
        paidian5s.setText(listdata._$132264531);
        linearLayoutsList.add(new Viewbean(paidian0lin, paidian0, paidian0s, "跨度", "132264536"));
        linearLayoutsList.add(new Viewbean(paidian1lin, paidian1, paidian1s, "跨度", "132264535"));
        linearLayoutsList.add(new Viewbean(paidian2lin, paidian2, paidian2s, "跨度", "132264534"));
        linearLayoutsList.add(new Viewbean(paidian3lin, paidian3, paidian3s, "跨度", "132264533"));
        linearLayoutsList.add(new Viewbean(paidian4lin, paidian4, paidian4s, "跨度", "132264532"));
        linearLayoutsList.add(new Viewbean(paidian5lin, paidian5, paidian5s, "跨度", "132264531"));

        //不出号码
        buchuhaoma1.setText(listdata._$132284512);
        buchuhaoma2.setText(listdata._$132284511);
        buchuhaoma3.setText(listdata._$132284510);
        buchuhaoma4.setText(listdata._$132284509);
        buchuhaoma5.setText(listdata._$132284508);
        buchuhaoma6.setText(listdata._$132284507);
        linearLayoutsList.add(new Viewbean(buchuhaoma1lin, haoma1, buchuhaoma1, "不出号码", "132284512"));
        linearLayoutsList.add(new Viewbean(buchuhaoma2lin, haoma2, buchuhaoma2, "不出号码", "132284511"));
        linearLayoutsList.add(new Viewbean(buchuhaoma3lin, haoma3, buchuhaoma3, "不出号码", "132284510"));
        linearLayoutsList.add(new Viewbean(buchuhaoma4lin, haoma4, buchuhaoma4, "不出号码", "132284509"));
        linearLayoutsList.add(new Viewbean(buchuhaoma5lin, haoma5, buchuhaoma5, "不出号码", "132284508"));
        linearLayoutsList.add(new Viewbean(buchuhaoma6lin, haoma6, buchuhaoma6, "不出号码", "132284507"));

        //必出号码
        bichuhaoma1.setText(listdata._$132294506);
        bichuhaoma2.setText(listdata._$132294505);
        bichuhaoma3.setText(listdata._$132294504);
        bichuhaoma4.setText(listdata._$132294503);
        bichuhaoma5.setText(listdata._$132294502);
        bichuhaoma6.setText(listdata._$132294501);
        linearLayoutsList.add(new Viewbean(bichuhaoma1lin, haoma1, bichuhaoma1, "必出号码", "132294506"));
        linearLayoutsList.add(new Viewbean(bichuhaoma2lin, haoma2, bichuhaoma2, "必出号码", "132294505"));
        linearLayoutsList.add(new Viewbean(bichuhaoma3lin, haoma3, bichuhaoma3, "必出号码", "132294504"));
        linearLayoutsList.add(new Viewbean(bichuhaoma4lin, haoma4, bichuhaoma4, "必出号码", "132294503"));
        linearLayoutsList.add(new Viewbean(bichuhaoma5lin, haoma5, bichuhaoma5, "必出号码", "132294502"));
        linearLayoutsList.add(new Viewbean(bichuhaoma6lin, haoma6, bichuhaoma6, "必出号码", "132294501"));
        textcolorlist();
    }

    /**
     * 江苏快三
     */
    public void setdajiangsukuaisan(Resjiangsuk3.DataBean listdata) {
        hezhidas.setText(listdata._$102144295);
        hezhixiaos.setText(listdata._$102144296);
        hezhidans.setText(listdata._$102144297);
        hezhishuangs.setText(listdata._$102144298);
        linearLayoutsList.add(new Viewbean(hezhidalin, hezhida, hezhidas, "和值", "102144295"));
        linearLayoutsList.add(new Viewbean(hezhixiaolin, hezhixiao, hezhixiaos, "和值", "102144296"));
        linearLayoutsList.add(new Viewbean(hezhidanlin, hezhidan, hezhidans, "和值", "102144297"));
        linearLayoutsList.add(new Viewbean(hezhishuanglin, hezhishuang, hezhishuangs, "和值", "102144298"));

        hezhi3s.setText(listdata._$102144279);
        hezhi4s.setText(listdata._$102144280);
        hezhi5s.setText(listdata._$102144281);
        hezhi6s.setText(listdata._$102144282);
        hezhi7s.setText(listdata._$102144283);
        hezhi8s.setText(listdata._$102144284);
        hezhi9s.setText(listdata._$102144285);
        hezhi10s.setText(listdata._$102144286);
        hezhi11s.setText(listdata._$102144287);
        hezhi12s.setText(listdata._$102144288);
        hezhi13s.setText(listdata._$102144289);
        hezhi14s.setText(listdata._$102144290);
        hezhi15s.setText(listdata._$102144291);
        hezhi16s.setText(listdata._$102144292);
        hezhi17s.setText(listdata._$102144293);
        hezhi18s.setText(listdata._$102144294);
        linearLayoutsList.add(new Viewbean(hezhi3lin, hezhi3, hezhi3s, "和值", "102144279"));
        linearLayoutsList.add(new Viewbean(hezhi4lin, hezhi4, hezhi4s, "和值", "102144280"));
        linearLayoutsList.add(new Viewbean(hezhi5lin, hezhi5, hezhi5s, "和值", "102144281"));
        linearLayoutsList.add(new Viewbean(hezhi6lin, hezhi6, hezhi6s, "和值", "102144282"));
        linearLayoutsList.add(new Viewbean(hezhi7lin, hezhi7, hezhi7s, "和值", "102144283"));
        linearLayoutsList.add(new Viewbean(hezhi8lin, hezhi8, hezhi8s, "和值", "102144284"));
        linearLayoutsList.add(new Viewbean(hezhi9lin, hezhi9, hezhi9s, "和值", "102144285"));
        linearLayoutsList.add(new Viewbean(hezhi10lin, hezhi10, hezhi10s, "和值", "102144286"));
        linearLayoutsList.add(new Viewbean(hezhi11lin, hezhi11, hezhi11s, "和值", "102144287"));
        linearLayoutsList.add(new Viewbean(hezhi12lin, hezhi12, hezhi12s, "和值", "102144288"));
        linearLayoutsList.add(new Viewbean(hezhi13lin, hezhi13, hezhi13s, "和值", "102144289"));
        linearLayoutsList.add(new Viewbean(hezhi14lin, hezhi14, hezhi14s, "和值", "102144290"));
        linearLayoutsList.add(new Viewbean(hezhi15lin, hezhi15, hezhi15s, "和值", "102144291"));
        linearLayoutsList.add(new Viewbean(hezhi16lin, hezhi16, hezhi16s, "和值", "102144292"));
        linearLayoutsList.add(new Viewbean(hezhi17lin, hezhi17, hezhi17s, "和值", "102144293"));
        linearLayoutsList.add(new Viewbean(hezhi18lin, hezhi18, hezhi18s, "和值", "102144294"));

        sanlian1.setText(listdata._$102154299);
        sanlian2.setText(listdata._$102154300);
        sanlian3.setText(listdata._$102154301);
        sanlian4.setText(listdata._$102154302);
        sanliandibus.setText(listdata._$102154303);
        linearLayoutsList.add(new Viewbean(sanlian1lin, sanlian123, sanlian1, "三连号", "102154299"));
        linearLayoutsList.add(new Viewbean(sanlian2lin, sanlian234, sanlian2, "三连号", "102154300"));
        linearLayoutsList.add(new Viewbean(sanlian3lin, sanlian345, sanlian3, "三连号", "102154301"));
        linearLayoutsList.add(new Viewbean(sanlian4lin, sanlian456, sanlian4, "三连号", "102154302"));
        linearLayoutsList.add(new Viewbean(sanliandibulin, sanliandibu, sanliandibus, "三连号", "102154303"));

        santong1.setText(listdata._$102164304);
        santong2.setText(listdata._$102164305);
        santong3.setText(listdata._$102164306);
        santong4.setText(listdata._$102164307);
        santong5.setText(listdata._$102164308);
        santong6.setText(listdata._$102164309);
        santongdibus.setText(listdata._$102164310);
        linearLayoutsList.add(new Viewbean(santong1lin, santong111, santong1, "三同号", "102164304"));
        linearLayoutsList.add(new Viewbean(santong2lin, santong222, santong2, "三同号", "102164305"));
        linearLayoutsList.add(new Viewbean(santong3lin, santong333, santong3, "三同号", "102164306"));
        linearLayoutsList.add(new Viewbean(santong4lin, santong444, santong4, "三同号", "102164307"));
        linearLayoutsList.add(new Viewbean(santong5lin, santong555, santong5, "三同号", "102164308"));
        linearLayoutsList.add(new Viewbean(santong6lin, santong666, santong6, "三同号", "102164309"));
        linearLayoutsList.add(new Viewbean(santongdibulin, santongdibu, santongdibus, "三同号", "102164310"));

        ertong1.setText(listdata._$102174311);
        ertong2.setText(listdata._$102174312);
        ertong3.setText(listdata._$102174313);
        ertong4.setText(listdata._$102174314);
        ertong5.setText(listdata._$102174315);
        ertong6.setText(listdata._$102174316);
        linearLayoutsList.add(new Viewbean(ertong1lin, ertong11, ertong1, "二同号", "102174311"));
        linearLayoutsList.add(new Viewbean(ertong2lin, ertong22, ertong2, "二同号", "102174312"));
        linearLayoutsList.add(new Viewbean(ertong3lin, ertong33, ertong3, "二同号", "102174313"));
        linearLayoutsList.add(new Viewbean(ertong4lin, ertong44, ertong4, "二同号", "102174314"));
        linearLayoutsList.add(new Viewbean(ertong5lin, ertong55, ertong5, "二同号", "102174315"));
        linearLayoutsList.add(new Viewbean(ertong6lin, ertong66, ertong6, "二同号", "102174316"));

        kuadudas.setText(listdata._$102194337);
        kuaduxiaos.setText(listdata._$102194338);
        kuadudans.setText(listdata._$102194339);
        kuadushuangs.setText(listdata._$102194340);
        linearLayoutsList.add(new Viewbean(kuadudalin, kuaduda, kuadudas, "牌点", "102194337"));
        linearLayoutsList.add(new Viewbean(kuaduxiaolin, kuaduxiao, kuaduxiaos, "牌点", "102194338"));
        linearLayoutsList.add(new Viewbean(kuadudanlin, kuadudan, kuadudans, "牌点", "102194339"));
        linearLayoutsList.add(new Viewbean(kuadushuanglin, kuadushuang, kuadushuangs, "牌点", "102194340"));

        kuadu1s.setText(listdata._$102194327);
        kuadu2s.setText(listdata._$102194328);
        kuadu3s.setText(listdata._$102194329);
        kuadu4s.setText(listdata._$102194330);
        kuadu5s.setText(listdata._$102194331);
        kuadu6s.setText(listdata._$102194332);
        kuadu7s.setText(listdata._$102194333);
        kuadu8s.setText(listdata._$102194334);
        kuadu9s.setText(listdata._$102194335);
        kuadu10s.setText(listdata._$102194336);
        linearLayoutsList.add(new Viewbean(kuadu1lin, kuadu1, kuadu1s, "牌点", "102194327"));
        linearLayoutsList.add(new Viewbean(kuadu2lin, kuadu2, kuadu2s, "牌点", "102194328"));
        linearLayoutsList.add(new Viewbean(kuadu3lin, kuadu3, kuadu3s, "牌点", "102194329"));
        linearLayoutsList.add(new Viewbean(kuadu4lin, kuadu4, kuadu4s, "牌点", "102194330"));
        linearLayoutsList.add(new Viewbean(kuadu5lin, kuadu5, kuadu5s, "牌点", "102194331"));
        linearLayoutsList.add(new Viewbean(kuadu6lin, kuadu6, kuadu6s, "牌点", "102194332"));
        linearLayoutsList.add(new Viewbean(kuadu7lin, kuadu7, kuadu7s, "牌点", "102194333"));
        linearLayoutsList.add(new Viewbean(kuadu8lin, kuadu8, kuadu8s, "牌点", "102194334"));
        linearLayoutsList.add(new Viewbean(kuadu9lin, kuadu9, kuadu9s, "牌点", "102194335"));
        linearLayoutsList.add(new Viewbean(kuadu10lin, kuadu10, kuadu10s, "牌点", "102194336"));

        paidiandas.setText(listdata._$102184323);
        paidianxiaos.setText(listdata._$102184324);
        paidiandans.setText(listdata._$102184325);
        paidianshuangs.setText(listdata._$102184326);
        linearLayoutsList.add(new Viewbean(paidiandalin, paidianda, paidiandas, "跨度", "102184323"));
        linearLayoutsList.add(new Viewbean(paidianxiaolin, paidianxiao, paidianxiaos, "跨度", "102184324"));
        linearLayoutsList.add(new Viewbean(paidiandanlin, paidiandan, paidiandans, "跨度", "102184325"));
        linearLayoutsList.add(new Viewbean(paidianshuanglin, paidianshuang, paidianshuangs, "跨度", "102184326"));

        paidian0s.setText(listdata._$102184317);
        paidian1s.setText(listdata._$102184318);
        paidian2s.setText(listdata._$102184319);
        paidian3s.setText(listdata._$102184320);
        paidian4s.setText(listdata._$102184321);
        paidian5s.setText(listdata._$102184322);
        linearLayoutsList.add(new Viewbean(paidian0lin, paidian0, paidian0s, "跨度", "102184317"));
        linearLayoutsList.add(new Viewbean(paidian1lin, paidian1, paidian1s, "跨度", "102184318"));
        linearLayoutsList.add(new Viewbean(paidian2lin, paidian2, paidian2s, "跨度", "102184319"));
        linearLayoutsList.add(new Viewbean(paidian3lin, paidian3, paidian3s, "跨度", "102184320"));
        linearLayoutsList.add(new Viewbean(paidian4lin, paidian4, paidian4s, "跨度", "102184321"));
        linearLayoutsList.add(new Viewbean(paidian5lin, paidian5, paidian5s, "跨度", "102184322"));

        buchuhaoma1.setText(listdata._$102204341);
        buchuhaoma2.setText(listdata._$102204342);
        buchuhaoma3.setText(listdata._$102204343);
        buchuhaoma4.setText(listdata._$102204344);
        buchuhaoma5.setText(listdata._$102204345);
        buchuhaoma6.setText(listdata._$102204346);
        linearLayoutsList.add(new Viewbean(buchuhaoma1lin, haoma1, buchuhaoma1, "不出号码", "102204341"));
        linearLayoutsList.add(new Viewbean(buchuhaoma2lin, haoma2, buchuhaoma2, "不出号码", "102204342"));
        linearLayoutsList.add(new Viewbean(buchuhaoma3lin, haoma3, buchuhaoma3, "不出号码", "102204343"));
        linearLayoutsList.add(new Viewbean(buchuhaoma4lin, haoma4, buchuhaoma4, "不出号码", "102204344"));
        linearLayoutsList.add(new Viewbean(buchuhaoma5lin, haoma5, buchuhaoma5, "不出号码", "102204345"));
        linearLayoutsList.add(new Viewbean(buchuhaoma6lin, haoma6, buchuhaoma6, "不出号码", "102204346"));

        bichuhaoma1.setText(listdata._$102214347);
        bichuhaoma2.setText(listdata._$102214348);
        bichuhaoma3.setText(listdata._$102214349);
        bichuhaoma4.setText(listdata._$102214350);
        bichuhaoma5.setText(listdata._$102214351);
        bichuhaoma6.setText(listdata._$102214352);
        linearLayoutsList.add(new Viewbean(bichuhaoma1lin, haoma1, bichuhaoma1, "必出号码", "102214347"));
        linearLayoutsList.add(new Viewbean(bichuhaoma2lin, haoma2, bichuhaoma2, "必出号码", "102214348"));
        linearLayoutsList.add(new Viewbean(bichuhaoma3lin, haoma3, bichuhaoma3, "必出号码", "102214349"));
        linearLayoutsList.add(new Viewbean(bichuhaoma4lin, haoma4, bichuhaoma4, "必出号码", "102214350"));
        linearLayoutsList.add(new Viewbean(bichuhaoma5lin, haoma5, bichuhaoma5, "必出号码", "102214351"));
        linearLayoutsList.add(new Viewbean(bichuhaoma6lin, haoma6, bichuhaoma6, "必出号码", "102214352"));
        textcolorlist();
    }

    /**
     * 秒速快三
     */
    public void setdatamiaosukuaisan(Resmiaosukuaisan.DataBean listdata) {
//        SYSOUtils.sOut_("111111111" + listdata);
        hezhidas.setText(listdata._$862464591);
        hezhixiaos.setText(listdata._$862464592);
        hezhidans.setText(listdata._$862464593);
        hezhishuangs.setText(listdata._$862464594);
        linearLayoutsList.add(new Viewbean(hezhidalin, hezhida, hezhidas, "和值", "862464591"));
        linearLayoutsList.add(new Viewbean(hezhixiaolin, hezhixiao, hezhixiaos, "和值", "862464592"));
        linearLayoutsList.add(new Viewbean(hezhidanlin, hezhidan, hezhidans, "和值", "862464593"));
        linearLayoutsList.add(new Viewbean(hezhishuanglin, hezhishuang, hezhishuangs, "和值", "862464594"));

        hezhi3s.setText(listdata._$862464575);
        hezhi4s.setText(listdata._$862464576);
        hezhi5s.setText(listdata._$862464577);
        hezhi6s.setText(listdata._$862464578);
        hezhi7s.setText(listdata._$862464579);
        hezhi8s.setText(listdata._$862464580);
        hezhi9s.setText(listdata._$862464581);
        hezhi10s.setText(listdata._$862464582);
        hezhi11s.setText(listdata._$862464583);
        hezhi12s.setText(listdata._$862464584);
        hezhi13s.setText(listdata._$862464585);
        hezhi14s.setText(listdata._$862464586);
        hezhi15s.setText(listdata._$862464587);
        hezhi16s.setText(listdata._$862464588);
        hezhi17s.setText(listdata._$862464589);
        hezhi18s.setText(listdata._$862464590);
        linearLayoutsList.add(new Viewbean(hezhi3lin, hezhi3, hezhi3s, "和值", "862464575"));
        linearLayoutsList.add(new Viewbean(hezhi4lin, hezhi4, hezhi4s, "和值", "862464576"));
        linearLayoutsList.add(new Viewbean(hezhi5lin, hezhi5, hezhi5s, "和值", "862464577"));
        linearLayoutsList.add(new Viewbean(hezhi6lin, hezhi6, hezhi6s, "和值", "862464578"));
        linearLayoutsList.add(new Viewbean(hezhi7lin, hezhi7, hezhi7s, "和值", "862464579"));
        linearLayoutsList.add(new Viewbean(hezhi8lin, hezhi8, hezhi8s, "和值", "862464580"));
        linearLayoutsList.add(new Viewbean(hezhi9lin, hezhi9, hezhi9s, "和值", "862464581"));
        linearLayoutsList.add(new Viewbean(hezhi10lin, hezhi10, hezhi10s, "和值", "862464582"));
        linearLayoutsList.add(new Viewbean(hezhi11lin, hezhi11, hezhi11s, "和值", "862464583"));
        linearLayoutsList.add(new Viewbean(hezhi12lin, hezhi12, hezhi12s, "和值", "862464584"));
        linearLayoutsList.add(new Viewbean(hezhi13lin, hezhi13, hezhi13s, "和值", "862464585"));
        linearLayoutsList.add(new Viewbean(hezhi14lin, hezhi14, hezhi14s, "和值", "862464586"));
        linearLayoutsList.add(new Viewbean(hezhi15lin, hezhi15, hezhi15s, "和值", "862464587"));
        linearLayoutsList.add(new Viewbean(hezhi16lin, hezhi16, hezhi16s, "和值", "862464588"));
        linearLayoutsList.add(new Viewbean(hezhi17lin, hezhi17, hezhi17s, "和值", "862464589"));
        linearLayoutsList.add(new Viewbean(hezhi18lin, hezhi18, hezhi18s, "和值", "862464590"));

        sanlian1.setText(listdata._$862474595);
        sanlian2.setText(listdata._$862474596);
        sanlian3.setText(listdata._$862474597);
        sanlian4.setText(listdata._$862474598);
        sanliandibus.setText(listdata._$862474599);
        linearLayoutsList.add(new Viewbean(sanlian1lin, sanlian123, sanlian1, "三连号", "862474595"));
        linearLayoutsList.add(new Viewbean(sanlian2lin, sanlian234, sanlian2, "三连号", "862474596"));
        linearLayoutsList.add(new Viewbean(sanlian3lin, sanlian345, sanlian3, "三连号", "862474597"));
        linearLayoutsList.add(new Viewbean(sanlian4lin, sanlian456, sanlian4, "三连号", "862474598"));
        linearLayoutsList.add(new Viewbean(sanliandibulin, sanliandibu, sanliandibus, "三连号", "862474599"));

        santong1.setText(listdata._$862484600);
        santong2.setText(listdata._$862484601);
        santong3.setText(listdata._$862484602);
        santong4.setText(listdata._$862484603);
        santong5.setText(listdata._$862484604);
        santong6.setText(listdata._$862484605);
        santongdibus.setText(listdata._$862484606);
        linearLayoutsList.add(new Viewbean(santong1lin, santong111, santong1, "三同号", "862484600"));
        linearLayoutsList.add(new Viewbean(santong2lin, santong222, santong2, "三同号", "862484601"));
        linearLayoutsList.add(new Viewbean(santong3lin, santong333, santong3, "三同号", "862484602"));
        linearLayoutsList.add(new Viewbean(santong4lin, santong444, santong4, "三同号", "862484603"));
        linearLayoutsList.add(new Viewbean(santong5lin, santong555, santong5, "三同号", "862484604"));
        linearLayoutsList.add(new Viewbean(santong6lin, santong666, santong6, "三同号", "862484605"));
        linearLayoutsList.add(new Viewbean(santongdibulin, santongdibu, santongdibus, "三同号", "862484606"));

        ertong1.setText(listdata._$862494607);
        ertong2.setText(listdata._$862494608);
        ertong3.setText(listdata._$862494609);
        ertong4.setText(listdata._$862494610);
        ertong5.setText(listdata._$862494611);
        ertong6.setText(listdata._$862494612);
        ertongdibu.setVisibility(View.GONE);
        linearLayoutsList.add(new Viewbean(ertong1lin, ertong11, ertong1, "二同号", "862494607"));
        linearLayoutsList.add(new Viewbean(ertong2lin, ertong22, ertong2, "二同号", "862494608"));
        linearLayoutsList.add(new Viewbean(ertong3lin, ertong33, ertong3, "二同号", "862494609"));
        linearLayoutsList.add(new Viewbean(ertong4lin, ertong44, ertong4, "二同号", "862494610"));
        linearLayoutsList.add(new Viewbean(ertong5lin, ertong55, ertong5, "二同号", "862494611"));
        linearLayoutsList.add(new Viewbean(ertong6lin, ertong66, ertong6, "二同号", "862494612"));


//            ////////////////////////////这里是牌点。和跨度写反了/////////////////////////////////////
        kuadudas.setText(listdata._$862514633);
        kuaduxiaos.setText(listdata._$862514634);
        kuadudans.setText(listdata._$862514635);
        kuadushuangs.setText(listdata._$862514636);
        linearLayoutsList.add(new Viewbean(kuadudalin, kuaduda, kuadudas, "牌点", "862514633"));
        linearLayoutsList.add(new Viewbean(kuaduxiaolin, kuaduxiao, kuaduxiaos, "牌点", "862514634"));
        linearLayoutsList.add(new Viewbean(kuadudanlin, kuadudan, kuadudans, "牌点", "862514635"));
        linearLayoutsList.add(new Viewbean(kuadushuanglin, kuadushuang, kuadushuangs, "牌点", "862514636"));

        kuadu1s.setText(listdata._$862514623);
        kuadu2s.setText(listdata._$862514624);
        kuadu3s.setText(listdata._$862514625);
        kuadu4s.setText(listdata._$862514626);
        kuadu5s.setText(listdata._$862514627);
        kuadu6s.setText(listdata._$862514628);
        kuadu7s.setText(listdata._$862514629);
        kuadu8s.setText(listdata._$862514630);
        kuadu9s.setText(listdata._$862514631);
        kuadu10s.setText(listdata._$862514632);
        linearLayoutsList.add(new Viewbean(kuadu1lin, kuadu1, kuadu1s, "牌点", "862514623"));
        linearLayoutsList.add(new Viewbean(kuadu2lin, kuadu2, kuadu2s, "牌点", "862514624"));
        linearLayoutsList.add(new Viewbean(kuadu3lin, kuadu3, kuadu3s, "牌点", "862514625"));
        linearLayoutsList.add(new Viewbean(kuadu4lin, kuadu4, kuadu4s, "牌点", "862514626"));
        linearLayoutsList.add(new Viewbean(kuadu5lin, kuadu5, kuadu5s, "牌点", "862514627"));
        linearLayoutsList.add(new Viewbean(kuadu6lin, kuadu6, kuadu6s, "牌点", "862514628"));
        linearLayoutsList.add(new Viewbean(kuadu7lin, kuadu7, kuadu7s, "牌点", "862514629"));
        linearLayoutsList.add(new Viewbean(kuadu8lin, kuadu8, kuadu8s, "牌点", "862514630"));
        linearLayoutsList.add(new Viewbean(kuadu9lin, kuadu9, kuadu9s, "牌点", "862514631"));
        linearLayoutsList.add(new Viewbean(kuadu10lin, kuadu10, kuadu10s, "牌点", "862514632"));

        paidiandas.setText(listdata._$862504619);
        paidianxiaos.setText(listdata._$862504620);
        paidiandans.setText(listdata._$862504621);
        paidianshuangs.setText(listdata._$862504622);
        linearLayoutsList.add(new Viewbean(paidiandalin, paidianda, paidiandas, "跨度", "862504619"));
        linearLayoutsList.add(new Viewbean(paidianxiaolin, paidianxiao, paidianxiaos, "跨度", "862504620"));
        linearLayoutsList.add(new Viewbean(paidiandanlin, paidiandan, paidiandans, "跨度", "862504621"));
        linearLayoutsList.add(new Viewbean(paidianshuanglin, paidianshuang, paidianshuangs, "跨度", "862504622"));

        paidian0s.setText(listdata._$862504613);
        paidian1s.setText(listdata._$862504614);
        paidian2s.setText(listdata._$862504615);
        paidian3s.setText(listdata._$862504616);
        paidian4s.setText(listdata._$862504617);
        paidian5s.setText(listdata._$862504618);
        linearLayoutsList.add(new Viewbean(paidian0lin, paidian0, paidian0s, "跨度", "862504613"));
        linearLayoutsList.add(new Viewbean(paidian1lin, paidian1, paidian1s, "跨度", "862504614"));
        linearLayoutsList.add(new Viewbean(paidian2lin, paidian2, paidian2s, "跨度", "862504615"));
        linearLayoutsList.add(new Viewbean(paidian3lin, paidian3, paidian3s, "跨度", "862504616"));
        linearLayoutsList.add(new Viewbean(paidian4lin, paidian4, paidian4s, "跨度", "862504617"));
        linearLayoutsList.add(new Viewbean(paidian5lin, paidian5, paidian5s, "跨度", "862504618"));

        buchuhaoma1.setText(listdata._$862524637);
        buchuhaoma2.setText(listdata._$862524638);
        buchuhaoma3.setText(listdata._$862524639);
        buchuhaoma4.setText(listdata._$862524640);
        buchuhaoma5.setText(listdata._$862524641);
        buchuhaoma6.setText(listdata._$862524642);
        linearLayoutsList.add(new Viewbean(buchuhaoma1lin, haoma1, buchuhaoma1, "不出号码", "862524637"));
        linearLayoutsList.add(new Viewbean(buchuhaoma2lin, haoma2, buchuhaoma2, "不出号码", "862524638"));
        linearLayoutsList.add(new Viewbean(buchuhaoma3lin, haoma3, buchuhaoma3, "不出号码", "862524639"));
        linearLayoutsList.add(new Viewbean(buchuhaoma4lin, haoma4, buchuhaoma4, "不出号码", "862524640"));
        linearLayoutsList.add(new Viewbean(buchuhaoma5lin, haoma5, buchuhaoma5, "不出号码", "862524641"));
        linearLayoutsList.add(new Viewbean(buchuhaoma6lin, haoma6, buchuhaoma6, "不出号码", "862524642"));

        bichuhaoma1.setText(listdata._$862534643);
        bichuhaoma2.setText(listdata._$862534644);
        bichuhaoma3.setText(listdata._$862534645);
        bichuhaoma4.setText(listdata._$862534646);
        bichuhaoma5.setText(listdata._$862534647);
        bichuhaoma6.setText(listdata._$862534648);
        linearLayoutsList.add(new Viewbean(bichuhaoma1lin, haoma1, bichuhaoma1, "必出号码", "862534643"));
        linearLayoutsList.add(new Viewbean(bichuhaoma2lin, haoma2, bichuhaoma2, "必出号码", "862534644"));
        linearLayoutsList.add(new Viewbean(bichuhaoma3lin, haoma3, bichuhaoma3, "必出号码", "862534645"));
        linearLayoutsList.add(new Viewbean(bichuhaoma4lin, haoma4, bichuhaoma4, "必出号码", "862534646"));
        linearLayoutsList.add(new Viewbean(bichuhaoma5lin, haoma5, bichuhaoma5, "必出号码", "862534647"));
        linearLayoutsList.add(new Viewbean(bichuhaoma6lin, haoma6, bichuhaoma6, "必出号码", "862534648"));

        textcolorlist();
    }

    CountDownTimer timer1;
    CountDownTimer timer2;

    //封盘倒计时
    public void startleftTime(final String startTime, final String nowTime) {
        String mStartTile = startTime;
        String mNowTile = nowTime;
        Date startDate = DateUtils.strToDateLong(mStartTile);
        Date nowDate = DateUtils.strToDateLong(mNowTile);
        final long diff1 = startDate.getTime() - nowDate.getTime() + 500;
        if (diff1 - 500 > 0) {
            timer1 = new CountDownTimer(diff1, 1000) {
                @Override
                public void onTick(long millisUntilFinished) {
                    xiazhubt.setEnabled(true);
                    chongzhibt.setEnabled(true);
                    touzhued.setEnabled(true);
                    fengpanlin.setVisibility(View.GONE);
                    closeTimeTv.setText(TimeTools.getCountTimeByLong(millisUntilFinished));
                }

                @Override
                public void onFinish() {
                    if (timer1 != null) {
                        timer1.cancel();
                    }
                    closeTimeTv.setText(String.valueOf("已封盘"));
                    fengpanlin.setVisibility(View.VISIBLE);
                    keybord.setVisibility(View.GONE);
                    xiazhubt.setEnabled(false);
                    chongzhibt.setEnabled(false);
                    touzhued.setEnabled(false);
                }
            };
            timer1.start();
        }
    }


    public void startrightTime(final String startTime, final String nowTime, final int a) {
        String mStartTile = startTime;
        String mNowTile = nowTime;
        Date startDate = DateUtils.strToDateLong(mStartTile);
        Date nowDate = DateUtils.strToDateLong(mNowTile);
        final long diff = startDate.getTime() - nowDate.getTime() + 500;
        if (diff - 500 > 0) {
            timer2 = new CountDownTimer(diff, 1000) {
                @Override
                public void onTick(long millisUntilFinished) {
                    openTimeTv.setText(TimeTools.getCountTimeByLong(millisUntilFinished));
                    if (TimeTools.getCountTimeByLong(millisUntilFinished).equals("00:00:00")) {
                        openTimeTv.setText("开奖中");
                    }
                }

                @Override
                public void onFinish() {
                    if (timer2 != null) {
                        timer2.cancel();
                    }
                    openTimeTv.setText("开奖中");
                    SystemClock.sleep(2000);//休眠2秒，保证可以获取到最新的开奖数据
                    mPresenter.getgamesdetail(gameid);
                    //接着请求钱的接口
                }
            };
            timer2.start();
        }
    }

    @Override
    public void onDestroy() {
        super.onDestroy();
        if (timer1 != null) {
            timer1.cancel();
            timer1 = null;
        }
        if (timer2 != null) {
            timer2.cancel();
            timer2 = null;
        }

    }
}

